]> granicus.if.org Git - clang/commit
[Concepts] Concept definitions (D40381)
authorSaar Raz <saar@raz.email>
Wed, 10 Jul 2019 21:25:49 +0000 (21:25 +0000)
committerSaar Raz <saar@raz.email>
Wed, 10 Jul 2019 21:25:49 +0000 (21:25 +0000)
commitfa50bf0cf89f59254ae0969e936c597ec1da78b9
treef1a60f25fbdf3627a9e87eda4c6afe056e9dd412
parent0f7a450afd00f19c5fda94c88b9bce48c8980851
[Concepts] Concept definitions (D40381)

First in a series of patches to land C++2a Concepts support.
This patch adds AST and parsing support for concept-declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365699 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
include/clang/AST/ASTNodeTraverser.h
include/clang/AST/DeclTemplate.h
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/TextNodeDumper.h
include/clang/Basic/DeclNodes.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/TemplateKinds.h
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTBitCodes.h
lib/AST/ASTStructuralEquivalence.cpp
lib/AST/DeclBase.cpp
lib/AST/DeclPrinter.cpp
lib/AST/DeclTemplate.cpp
lib/AST/TextNodeDumper.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Index/IndexDecl.cpp
lib/Parse/ParseTemplate.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTCommon.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp [new file with mode: 0644]
test/Parser/cxx2a-concept-declaration.cpp [new file with mode: 0644]
tools/libclang/CIndex.cpp