diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:17:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:17:29 +0000 |
commit | 0c42bb653dc40b1caae010618831e320af824b18 (patch) | |
tree | 1db89d3b415867c2a6fbf3b602127cea998596df /lib/AST/TypePrinter.cpp | |
parent | 66cf2d1290c598fcbaf1c6b50411f2513daf3b3e (diff) |
'const std::type_info*' instead of 'std::type_info const*'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index f529187145..e080571552 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -73,7 +73,7 @@ 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<BuiltinType>(T) || isa<TypedefType>(T) || isa<TagType>(T); if (!CanPrefixQualifiers && !Quals.empty()) { std::string TQS; |