summaryrefslogtreecommitdiffstats
path: root/lib/AST/TypePrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-05 00:27:00 +0000
committerChris Lattner <sabre@nondot.org>2010-09-05 00:27:00 +0000
commit2f69a816a0986caa24d8e4273a3f83420b05f707 (patch)
treef882050d6fdad6e067968b362988da7b5242d540 /lib/AST/TypePrinter.cpp
parent219b9e46f8ca5ec4441e4a449f449e246c4770a2 (diff)
"const std::vector<int>*" not "std::vector<int> const*"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r--lib/AST/TypePrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp
index f33c5ae882..9e7f1309d4 100644
--- a/lib/AST/TypePrinter.cpp
+++ b/lib/AST/TypePrinter.cpp
@@ -74,7 +74,7 @@ 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<ComplexType>(T) || isa<TemplateSpecializationType>(T);
if (!CanPrefixQualifiers && !Quals.empty()) {
std::string TQS;