aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-29 06:47:04 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-29 06:47:04 +0000
commitbaca389e28985d57f59e42d745696bdf7ed56af2 (patch)
tree3e54156cc0a15ad2f12a56d84bffcc31053b78ea /clang/lib/Basic/FileManager.cpp
parent96ef0785839d4184dc0a81e89a0c898e4899166f (diff)
downloadllvm-baca389e28985d57f59e42d745696bdf7ed56af2.zip
llvm-baca389e28985d57f59e42d745696bdf7ed56af2.tar.gz
llvm-baca389e28985d57f59e42d745696bdf7ed56af2.tar.bz2
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/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions