[cfe-commits] r120091 - /cfe/trunk/lib/AST/DumpXML.cpp
John McCall
rjmccall at apple.com
Wed Nov 24 03:53:13 PST 2010
Author: rjmccall
Date: Wed Nov 24 05:53:13 2010
New Revision: 120091
URL: http://llvm.org/viewvc/llvm-project?rev=120091&view=rev
Log:
Appease versions of GCC which don't correctly support injected class
names.
Modified:
cfe/trunk/lib/AST/DumpXML.cpp
Modified: cfe/trunk/lib/AST/DumpXML.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DumpXML.cpp?rev=120091&r1=120090&r2=120091&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DumpXML.cpp (original)
+++ cfe/trunk/lib/AST/DumpXML.cpp Wed Nov 24 05:53:13 2010
@@ -369,7 +369,7 @@
// pop();
void dispatch(Decl *D) {
push(D->getDeclKindName());
- XMLDeclVisitor::dispatch(D);
+ XMLDeclVisitor<XMLDumper>::dispatch(D);
pop();
}
void visitDeclAttrs(Decl *D) {
@@ -732,7 +732,7 @@
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();
}
More information about the cfe-commits
mailing list