]> granicus.if.org Git - clang/commit
Replace the representation of template template argument pack
authorDouglas Gregor <dgregor@apple.com>
Wed, 5 Jan 2011 18:58:31 +0000 (18:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 5 Jan 2011 18:58:31 +0000 (18:58 +0000)
commita7fc901a2e39bfe55bfcff5934b2d9fdf9656491
treef6b1e6428fb15d6d480a43252cffba3607577fd7
parentcbf40f913aa2aa5de6e0540fed209405d00a2c69
Replace the representation of template template argument pack
expansions with something that is easier to use correctly: a new
template argment kind, rather than a bit on an existing kind. Update
all of the switch statements that deal with template arguments, fixing
a few latent bugs in the process. I"m happy with this representation,
now.

And, oh look! Template instantiation and deduction work for template
template argument pack expansions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122896 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
include/clang/AST/RecursiveASTVisitor.h
include/clang/AST/TemplateBase.h
lib/AST/ASTContext.cpp
lib/AST/ASTImporter.cpp
lib/AST/Decl.cpp
lib/AST/DumpXML.cpp
lib/AST/StmtProfile.cpp
lib/AST/TemplateBase.cpp
lib/CodeGen/Mangle.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateDeduction.cpp
lib/Sema/TreeTransform.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp
test/CXX/temp/temp.decls/temp.variadic/p4.cpp
tools/libclang/CIndex.cpp
tools/libclang/CIndexUSRs.cpp