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 | bbe759cf95a5df5497549abadb56282939868da1 (patch) | |
| tree | 7a9f85bec95bc1c1d19ddf023a870e67f46f2ec7 /lib/Basic/FileSystemStatCache.cpp | |
| parent | 393f5ff6b0b6d22a7ed7c29a68f6d20fe31cbbb1 (diff) | |
| download | clang-bbe759cf95a5df5497549abadb56282939868da1.tar.gz clang-bbe759cf95a5df5497549abadb56282939868da1.tar.bz2 clang-bbe759cf95a5df5497549abadb56282939868da1.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions
