From: Chris Lattner Date: Sun, 5 Sep 2010 00:22:25 +0000 (+0000) Subject: "const _Complex float *" not "_Complex float const *" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=219b9e46f8ca5ec4441e4a449f449e246c4770a2;p=clang "const _Complex float *" not "_Complex float const *" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113093 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(T) || isa(T) || isa(T); + isa(T) || isa(T) || isa(T) || + isa(T); if (!CanPrefixQualifiers && !Quals.empty()) { std::string TQS;