Fix some test failures involving -ast-print.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72605 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index e63e12b..f7eb41c 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -903,6 +903,16 @@
case Record:
case Enum:
case Typedef:
+ case Complex:
+ case TypeOfExpr:
+ case TypeOf:
+ case TemplateTypeParm:
+ case TemplateSpecialization:
+ case QualifiedName:
+ case Typename:
+ case ObjCInterface:
+ case ObjCQualifiedInterface:
+ case ObjCQualifiedId:
return true;
default:
return false;