[PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization

Nathan Wilson via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 15:08:49 PST 2015


nwilson updated this revision to Diff 43072.
nwilson added a comment.

- Move IsConcept bit and associated member functions from FunctionDecl to FunctionTemplateDecl.
- Set the IsConcept flag using getDescribedFunctionTemplate.


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.43072.patch
Type: text/x-patch
Size: 6300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151216/e6bb3841/attachment.bin>


More information about the cfe-commits mailing list