summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2015-10-01 00:53:13 +0000
committerBob Wilson <bob.wilson@apple.com>2015-10-01 00:53:13 +0000
commit1f24ea15d06977c2e743a79d14312d8c3b1f3a31 (patch)
treea1f1defecd1d32c5c83023bc618573afa0c736e7 /clang/lib/AST
parentfd69611c8e900e32d427e861f0365f594b55dc7c (diff)
downloadbcm5719-llvm-1f24ea15d06977c2e743a79d14312d8c3b1f3a31.tar.gz
bcm5719-llvm-1f24ea15d06977c2e743a79d14312d8c3b1f3a31.zip
Fix printing of parameterized Objective-C interfaces.
This change was accidentally omitted from Doug's change in r241541. llvm-svn: 248975
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/DeclPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclPrinter.cpp b/clang/lib/AST/DeclPrinter.cpp
index 374c34ae8ef..e09c331d4f7 100644
--- a/clang/lib/AST/DeclPrinter.cpp
+++ b/clang/lib/AST/DeclPrinter.cpp
@@ -1088,7 +1088,7 @@ void DeclPrinter::VisitObjCInterfaceDecl(ObjCInterfaceDecl *OID) {
}
if (SID)
- Out << " : " << OID->getSuperClass()->getName();
+ Out << " : " << QualType(OID->getSuperClassType(), 0).getAsString(Policy);
// Protocols?
const ObjCList<ObjCProtocolDecl> &Protocols = OID->getReferencedProtocols();
OpenPOWER on IntegriCloud