aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-11-16 00:32:20 +0000
committerBob Wilson <bob.wilson@apple.com>2010-11-16 00:32:20 +0000
commit231da7eb3dd13007e5e40fffe48998e5ef284e06 (patch)
treef8b3b154862126fca76bcb56372427e7350f4a88 /lib/Sema/SemaType.cpp
parent57147a8615bca96e067975fe931baf5d741876a4 (diff)
ASTContext::getVectorType should preserve the vector kind for canonical types.
This is needed for Neon types when it is most natural to define them in terms of a typedef. For example, Neon poly8_t is a typedef for "signed char", and we want to define polynomial vectors as vectors of that typedef. Without this change, the result will be a generic GCC-style vector. I think this is safe for other vector types as well, but I would appreciate a review of this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
0 files changed, 0 insertions, 0 deletions