diff options
-rw-r--r-- | lib/AST/TypePrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index e080571552..f33c5ae882 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -73,7 +73,8 @@ void TypePrinter::Print(QualType T, std::string &S) { // "int * const", printing "const int *" is different. Only do this when the // type expands to a simple string. bool CanPrefixQualifiers = - isa<BuiltinType>(T) || isa<TypedefType>(T) || isa<TagType>(T); + isa<BuiltinType>(T) || isa<TypedefType>(T) || isa<TagType>(T) || + isa<ComplexType>(T); if (!CanPrefixQualifiers && !Quals.empty()) { std::string TQS; |