pretty printing vector types should print the element type, not just the attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65078 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 8032424..65c4fab 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -1184,6 +1184,7 @@
S += " __attribute__((__vector_size__(";
S += llvm::utostr_32(NumElements); // convert back to bytes.
S += " * sizeof(" + ElementType.getAsString() + "))))";
+ ElementType.getAsStringInternal(S);
}
void ExtVectorType::getAsStringInternal(std::string &S) const {