diff options
author | John McCall <rjmccall@apple.com> | 2010-11-24 11:53:13 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-11-24 11:53:13 +0000 |
commit | 13cf5e2e223ebfc8ec0459913b2fc9ec1e5fa760 (patch) | |
tree | d75710e4342f925aeb04306d9dd3f975749e67a6 /lib/AST/DumpXML.cpp | |
parent | 26c25c95a1eeeed09265525de300670eb5e9c015 (diff) |
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
Diffstat (limited to 'lib/AST/DumpXML.cpp')
-rw-r--r-- | lib/AST/DumpXML.cpp | 4 |
1 files 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<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(); } |