[ATTRIBUTE] Support base vector types of __attribute__((mode)), patch by Alexey Frolov
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 19 Jun 2015 07:46:21 +0000 (07:46 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 19 Jun 2015 07:46:21 +0000 (07:46 +0000)
commit326057d0da96778115fafc3454702582e672955f
tree7ace47a075fbb1bc2e2952795e57cc57626d5817
parent94aed4fc5249bef2a989dccc83731c2b1f89d5f3
[ATTRIBUTE] Support base vector types of __attribute__((mode)), patch by Alexey Frolov

Base type of attribute((mode)) can actually be a vector type.
The patch is to distinguish between base type and base element type.

This fixes http://llvm.org/PR17453.
Differential Revision: http://reviews.llvm.org/D10058

llvm-svn: 240125
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/CodeGen/attr-mode-vector-types.c [new file with mode: 0644]
clang/test/Sema/attr-mode-vector-types.c [new file with mode: 0644]