diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-13 02:11:23 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-01-13 02:11:23 +0000 |
commit | a4fa9008988985f9cf01712a99ddd923aea278a0 (patch) | |
tree | f97e05c5572791091f14770ef0d3972b7be80fcd /lib/Sema/SemaType.cpp | |
parent | cd458330d0cdced36a49f1d66cd9c5908f46d939 (diff) |
Remove some duplication in the handling of __attribute__((ext_vector_size(N))).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
-rw-r--r-- | lib/Sema/SemaType.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index 59c1dea8ff..f44603b1ef 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -4213,9 +4213,7 @@ static void processTypeAttrs(TypeProcessingState &state, QualType &type, attr.setUsedAsTypeAttr(); break; case AttributeList::AT_ExtVectorType: - if (state.getDeclarator().getDeclSpec().getStorageClassSpec() - != DeclSpec::SCS_typedef) - HandleExtVectorTypeAttr(type, attr, state.getSema()); + HandleExtVectorTypeAttr(type, attr, state.getSema()); attr.setUsedAsTypeAttr(); break; case AttributeList::AT_NeonVectorType: |