From a76355d570a96ebcb4e790bc06020f184351500d Mon Sep 17 00:00:00 2001 From: =?utf8?q?D=C3=A1vid=20Bolvansk=C3=BD?= Date: Sun, 3 Oct 2021 13:19:04 +0200 Subject: [PATCH] Unbreak hexagon-check-builtins.c due to rGb1fcca388441 --- clang/lib/Sema/SemaChecking.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index bdd9fb4..66450f6 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; -- 2.7.4