[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-commits
Subject: Re: [PATCH] D11490: [Concepts] Add diagnostic: non template declaration
From: Hubert Tong <hubert.reinterpretcast () gmail ! com>
Date: 2015-07-24 19:07:01
Message-ID: 5f00c7a4069158f98b8ac60c20cf3b84 () localhost ! localdomain
[Download RAW message or body]
hubert.reinterpretcast added inline comments.
================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:1970
@@ -1969,1 +1969,3 @@
+def err_concept_decl_non_template : Error<
+ "concept can only be applied to a function or variable template definition">;
def err_concept_decls_may_only_appear_in_namespace_scope : Error<
----------------
Using just "concept" here to refer to the specifier is a bit confusing. Perhaps:
"the concept specifier may only be applied to the definition of a function or variable template"
http://reviews.llvm.org/D11490
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic