From 13cf5e2e223ebfc8ec0459913b2fc9ec1e5fa760 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 24 Nov 2010 11:53:13 +0000 Subject: [PATCH] Appease versions of GCC which don't correctly support injected class names. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120091 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DumpXML.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/AST/DumpXML.cpp b/lib/AST/DumpXML.cpp index 127d18d872..ea9f1ccb79 100644 --- a/lib/AST/DumpXML.cpp +++ b/lib/AST/DumpXML.cpp @@ -369,7 +369,7 @@ struct XMLDumper : public XMLDeclVisitor, // pop(); void dispatch(Decl *D) { push(D->getDeclKindName()); - XMLDeclVisitor::dispatch(D); + XMLDeclVisitor::dispatch(D); pop(); } void visitDeclAttrs(Decl *D) { @@ -732,7 +732,7 @@ struct XMLDumper : public XMLDeclVisitor, Type *Ty = const_cast(T.getTypePtr()); push(getTypeKindName(Ty)); - XMLTypeVisitor::dispatch(const_cast(T.getTypePtr())); + XMLTypeVisitor::dispatch(const_cast(T.getTypePtr())); pop(); } -- 2.40.0