diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-29 06:47:04 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-29 06:47:04 +0000 |
commit | baca389e28985d57f59e42d745696bdf7ed56af2 (patch) | |
tree | 3e54156cc0a15ad2f12a56d84bffcc31053b78ea /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp | |
parent | 96ef0785839d4184dc0a81e89a0c898e4899166f (diff) | |
download | bcm5719-llvm-baca389e28985d57f59e42d745696bdf7ed56af2.tar.gz bcm5719-llvm-baca389e28985d57f59e42d745696bdf7ed56af2.zip |
Return ExprError if both arguments to the mask form of __builtin_shufflvector don't have the same number of elements or the mask isn't an integer vector.
Previously a diagnostic was issued, but the code went ahead and built the ShuffleVectorExpr. While I'm here also simplify a couple lines by wrapping the return ExprError around the Diag calls.
llvm-svn: 187344
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions