summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2017-06-08 05:25:19 +0000
committerSerge Pavlov <sepavloff@gmail.com>2017-06-08 05:25:19 +0000
commit0c64e27207564763a588b743646b7cefa727e113 (patch)
treefe61655b7bb46177b06041ba3895acba1ccf8274 /clang/lib/Sema/SemaDeclCXX.cpp
parent24f7dd9c72bd23ba774a6e72b8d2ae8f4b3ed608 (diff)
downloadbcm5719-llvm-0c64e27207564763a588b743646b7cefa727e113.tar.gz
bcm5719-llvm-0c64e27207564763a588b743646b7cefa727e113.zip
Catch invalid bitwise operation on vector of floats
Bitwise complement applied to vector of floats described with attribute `ext_vector_type` is not diagnosed as error. Attempt to compile such construct causes assertion violation in Instruction.cpp. With this change the complement is treated similar to the case of vector type described with attribute `vector_size`. Differential Revision: https://reviews.llvm.org/D33732 llvm-svn: 304963
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud