[PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization
Nathan Wilson via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 27 20:25:27 PST 2015
nwilson updated this revision to Diff 43670.
nwilson added a comment.
- Store the IsConcept boolean flag in TemplateDecl by making TemplatedDecl an IntPointerPair, and move the associated member functions into TemplateDecl.
- Remove unnecessary quoted comment.
- Remove an extra space where the diagnostic is used.
http://reviews.llvm.org/D13357
Files:
include/clang/AST/DeclTemplate.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13357.43670.patch
Type: text/x-patch
Size: 9734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151228/8c59a04c/attachment-0001.bin>
More information about the cfe-commits
mailing list