P0217R3: Parsing support and framework for AST representation of C++1z
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Jul 2016 23:36:59 +0000 (23:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 22 Jul 2016 23:36:59 +0000 (23:36 +0000)
commitbdb84f374cde7736ca68d5db2c2ecf5468346710
tree06ae6652b753c321b50df713f3a69b46240f38a8
parenteea7c267b9af73bec73949f99c43c4177a14a2f5
P0217R3: Parsing support and framework for AST representation of C++1z
decomposition declarations.

There are a couple of things in the wording that seem strange here:
decomposition declarations are permitted at namespace scope (which we partially
support here) and they are permitted as the declaration in a template (which we
reject).

llvm-svn: 276492
26 files changed:
clang/include/clang/AST/DeclCXX.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/Basic/DeclNodes.td
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Parse/Parser.h
clang/include/clang/Sema/DeclSpec.h
clang/include/clang/Sema/Sema.h
clang/lib/AST/ASTDumper.cpp
clang/lib/AST/DeclBase.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Parse/ParseTentative.cpp
clang/lib/Sema/DeclSpec.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/lib/Serialization/ASTCommon.cpp
clang/test/Parser/cxx1z-decomposition.cpp [new file with mode: 0644]
clang/test/SemaCXX/cxx1z-decomposition.cpp [new file with mode: 0644]
clang/tools/libclang/CIndex.cpp