From e4ff4b56fe4bdc051af4ef808ebbbff129bfa804 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 5 Jan 2011 18:58:31 +0000 Subject: 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. llvm-svn: 122896 --- clang/lib/AST/DumpXML.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/lib/AST/DumpXML.cpp') diff --git a/clang/lib/AST/DumpXML.cpp b/clang/lib/AST/DumpXML.cpp index 7465ea410d7..65a18aa8d1b 100644 --- a/clang/lib/AST/DumpXML.cpp +++ b/clang/lib/AST/DumpXML.cpp @@ -319,6 +319,10 @@ struct XMLDumper : public XMLDeclVisitor, break; } case TemplateArgument::Template: + case TemplateArgument::TemplateExpansion: + // FIXME: Implement! + break; + case TemplateArgument::Declaration: { visitDeclRef(A.getAsDecl()); break; -- cgit v1.2.3