]> granicus.if.org Git - clang/commit
[CONCEPTS] Parsing of concept keyword
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 30 Jun 2015 12:14:52 +0000 (12:14 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 30 Jun 2015 12:14:52 +0000 (12:14 +0000)
commit71b65791b195056028a8ee3f0ac05d184d34c961
tree7aa08dbaac9e572bdf38290c700f8ec4dfb987e3
parent8378e8520c72c3f1ac96e14d85d4d6a0731aefa9
[CONCEPTS] Parsing of concept keyword

Summary: This change adds parsing for the concept keyword in a
declaration and tracks the location. Diagnostic testing added for
invalid use of concept keyword.

Reviewers: faisalv, fraggamuffin, rsmith, hubert.reinterpretcast

Reviewed By: rsmith, hubert.reinterpretcast

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D10528

Patch by Nathan Wilson!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241060 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseTentative.cpp
lib/Sema/DeclSpec.cpp
test/Parser/cxx-concept-declaration.cpp [new file with mode: 0644]