diff options
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 48d1ce90b6..e0223b009f 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -4118,6 +4118,11 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context, Type = Context.getVectorType(ElementType, NumElements); break; } + case 'X': { + QualType ElementType = DecodeTypeFromStr(Str, Context, Error, false); + Type = Context.getComplexType(ElementType); + break; + } case 'P': Type = Context.getFILEType(); if (Type.isNull()) { |