aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorMikael Holmen <mikael.holmen@ericsson.com>2025-06-12 09:29:40 +0200
committerMikael Holmen <mikael.holmen@ericsson.com>2025-06-12 09:43:30 +0200
commit77062244ed56be61aecda28d6fede3432545f741 (patch)
tree2e86bb1916f7f1e15aba7ab4efc639af23f5de30 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent6157028fea93ff14af18b173dd01eb431cfb6aef (diff)
downloadllvm-77062244ed56be61aecda28d6fede3432545f741.zip
llvm-77062244ed56be61aecda28d6fede3432545f741.tar.gz
llvm-77062244ed56be61aecda28d6fede3432545f741.tar.bz2
Fix two instances of -Wparentheses warnings [NFC]
Add parentheses around the assert conditions. Without this gcc warned like ../lib/Target/AMDGPU/GCNSchedStrategy.cpp:2250: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2250 | NewMI != RegionBounds.second && "cannot remove at region end"); and ../../clang/lib/Sema/SemaOverload.cpp:11326:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 11326 | DeferredCandidatesCount == 0 && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 11327 | "Unexpected deferred template candidates"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions