diff options
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 9e7f1309d4..21f855b8e8 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -74,7 +74,9 @@ void TypePrinter::Print(QualType T, std::string &S) { // type expands to a simple string. bool CanPrefixQualifiers = isa<BuiltinType>(T) || isa<TypedefType>(T) || isa<TagType>(T) || - isa<ComplexType>(T) || isa<TemplateSpecializationType>(T); + isa<ComplexType>(T) || isa<TemplateSpecializationType>(T) || + isa<ObjCObjectType>(T) || isa<ObjCInterfaceType>(T) || + T->isObjCIdType() || T->isObjCQualifiedIdType(); if (!CanPrefixQualifiers && !Quals.empty()) { std::string TQS; |