aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-09-17 20:46:44 +0300
committerGitHub <noreply@github.com>2025-09-17 20:46:44 +0300
commit6db244a58626e885ba010b3d6813191485e18e90 (patch)
tree5cfcd4b9309611773a1b384875ef84cbc68602aa /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent95f213f37c8e1800f7769885a5cd0f0da994a085 (diff)
downloadllvm-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/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions