diff options
author | Martin Storsjö <martin@martin.st> | 2025-09-17 20:46:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-17 20:46:44 +0300 |
commit | 6db244a58626e885ba010b3d6813191485e18e90 (patch) | |
tree | 5cfcd4b9309611773a1b384875ef84cbc68602aa /llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | |
parent | 95f213f37c8e1800f7769885a5cd0f0da994a085 (diff) | |
download | llvm-6db244a58626e885ba010b3d6813191485e18e90.zip llvm-6db244a58626e885ba010b3d6813191485e18e90.tar.gz llvm-6db244a58626e885ba010b3d6813191485e18e90.tar.bz2 |
Add parentheses to clarify operator ordering in asserts. NFC. (#159333)
This avoids the following kind of warning with GCC:
../tools/llvm-lipo/llvm-lipo.cpp: In function ‘void printInfo(llvm::LLVMContext&, llvm::ArrayRef<llvm::object::OwningBinary<llvm::object::Binary> >)’:
../tools/llvm-lipo/llvm-lipo.cpp:464:34: warning: suggest parentheses around ‘& ’ within ‘||’ [-Wparentheses]
464 | Binary->isArchive() && "expected MachO binary");
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions