[clang] a76355d - Unbreak hexagon-check-builtins.c due to rGb1fcca388441
Dávid Bolvanský via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 3 04:19:44 PDT 2021
Author: Dávid Bolvanský
Date: 2021-10-03T13:19:34+02:00
New Revision: a76355d570a96ebcb4e790bc06020f184351500d
URL: https://github.com/llvm/llvm-project/commit/a76355d570a96ebcb4e790bc06020f184351500d
DIFF: https://github.com/llvm/llvm-project/commit/a76355d570a96ebcb4e790bc06020f184351500d.diff
LOG: Unbreak hexagon-check-builtins.c due to rGb1fcca388441
Added:
Modified:
clang/lib/Sema/SemaChecking.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index bdd9fb495da2..66450f61c091 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -2988,8 +2988,8 @@ bool Sema::CheckHexagonBuiltinArgument(unsigned BuiltinID, CallExpr *TheCall) {
unsigned M = 1 << A.Align;
Min *= M;
Max *= M;
- Error |= SemaBuiltinConstantArgRange(TheCall, A.OpNum, Min, Max) ||
- SemaBuiltinConstantArgMultiple(TheCall, A.OpNum, M);
+ Error |= SemaBuiltinConstantArgRange(TheCall, A.OpNum, Min, Max);
+ Error |= SemaBuiltinConstantArgMultiple(TheCall, A.OpNum, M);
}
}
return Error;
More information about the cfe-commits
mailing list