[Concepts] Concept Specialization Expressions
authorSaar Raz <saar@raz.email>
Tue, 15 Oct 2019 11:48:58 +0000 (11:48 +0000)
committerSaar Raz <saar@raz.email>
Tue, 15 Oct 2019 11:48:58 +0000 (11:48 +0000)
commitec87b003823d63f3342cf648f55a134c1522e612
tree1eaead2c265468357031c24d3778ff48ede93283
parent1ae2d9a2bdce054560104f428e92eaef736e5c7f
[Concepts] Concept Specialization Expressions

Part of C++20 Concepts implementation effort. Added Concept Specialization Expressions that are created when a concept is referenced with arguments, and tests thereof.

llvm-svn: 374882
37 files changed:
clang/include/clang/AST/ExprCXX.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/StmtNodes.td
clang/include/clang/Sema/Sema.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/lib/AST/Expr.cpp
clang/lib/AST/ExprCXX.cpp
clang/lib/AST/ExprClassification.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/StmtPrinter.cpp
clang/lib/AST/StmtProfile.cpp
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/Frontend/FrontendActions.cpp
clang/lib/Parse/ParseExpr.cpp
clang/lib/Sema/CMakeLists.txt
clang/lib/Sema/SemaConcept.cpp [new file with mode: 0644]
clang/lib/Sema/SemaExceptionSpec.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/lib/Sema/SemaTemplateInstantiate.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp [deleted file]
clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp [deleted file]
clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp [deleted file]
clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp [deleted file]
clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp [deleted file]
clang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py [deleted file]
clang/test/CXX/concepts-ts/expr/expr.prim/expr.prim.id/p3.cpp [deleted file]
clang/test/CXX/expr/expr.prim/expr.prim.id/p3.cpp [new file with mode: 0644]
clang/test/CXX/temp/temp.constr/temp.constr.decl/class-template-decl.cpp [moved from clang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp with 100% similarity]
clang/test/PCH/cxx2a-concept-specialization-expr.cpp [new file with mode: 0644]
clang/test/Parser/cxx2a-concept-declaration.cpp
clang/tools/libclang/CXCursor.cpp