aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/TypePrinter.cpp
diff options
context:
space:
mode:
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;