]> granicus.if.org Git - clang/commitdiff
Appease versions of GCC which don't correctly support injected class
authorJohn McCall <rjmccall@apple.com>
Wed, 24 Nov 2010 11:53:13 +0000 (11:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 24 Nov 2010 11:53:13 +0000 (11:53 +0000)
names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120091 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DumpXML.cpp

index 127d18d8729efd0ed9afd3a0d218e770131abf9a..ea9f1ccb7977ab0943508255aa0851aacc7dfa50 100644 (file)
@@ -369,7 +369,7 @@ struct XMLDumper : public XMLDeclVisitor<XMLDumper>,
   //   pop();
   void dispatch(Decl *D) {
     push(D->getDeclKindName());
-    XMLDeclVisitor::dispatch(D);
+    XMLDeclVisitor<XMLDumper>::dispatch(D);
     pop();
   }
   void visitDeclAttrs(Decl *D) {
@@ -732,7 +732,7 @@ struct XMLDumper : public XMLDeclVisitor<XMLDumper>,
 
     Type *Ty = const_cast<Type*>(T.getTypePtr());
     push(getTypeKindName(Ty));
-    XMLTypeVisitor::dispatch(const_cast<Type*>(T.getTypePtr()));
+    XMLTypeVisitor<XMLDumper>::dispatch(const_cast<Type*>(T.getTypePtr()));
     pop();
   }