[cfe-commits] r113095 - /cfe/trunk/lib/AST/TypePrinter.cpp
Chris Lattner
sabre at nondot.org
Sat Sep 4 17:36:44 PDT 2010
Author: lattner
Date: Sat Sep 4 19:36:44 2010
New Revision: 113095
URL: http://llvm.org/viewvc/llvm-project?rev=113095&view=rev
Log:
"const id<NSFoo> *" not "id<NSFoo> const*"
Modified:
cfe/trunk/lib/AST/TypePrinter.cpp
Modified: cfe/trunk/lib/AST/TypePrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypePrinter.cpp?rev=113095&r1=113094&r2=113095&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TypePrinter.cpp (original)
+++ cfe/trunk/lib/AST/TypePrinter.cpp Sat Sep 4 19:36:44 2010
@@ -74,7 +74,9 @@
// 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;
More information about the cfe-commits
mailing list