From: Chris Lattner Date: Thu, 19 Feb 2009 23:42:29 +0000 (+0000) Subject: pretty printing vector types should print the element type, not just the attribute. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08eddd946628718e1832d98fc292610252c78a62;p=clang 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 8032424f78..65c4fabf8f 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -1184,6 +1184,7 @@ void VectorType::getAsStringInternal(std::string &S) const { 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 {