diff options
| author | Mikael Holmen <mikael.holmen@ericsson.com> | 2025-06-12 09:29:40 +0200 |
|---|---|---|
| committer | Mikael Holmen <mikael.holmen@ericsson.com> | 2025-06-12 09:43:30 +0200 |
| commit | 77062244ed56be61aecda28d6fede3432545f741 (patch) | |
| tree | 2e86bb1916f7f1e15aba7ab4efc639af23f5de30 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 6157028fea93ff14af18b173dd01eb431cfb6aef (diff) | |
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/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
