Add void casts to mark the variables used, next to the places where
they are used in assert or LLVM_DEBUG() expressions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D123117
Fix warnings about variables that are set but only used in debug mode ClosedPublic Authored by mstorsjo on Apr 5 2022, 3:58 AM.
Details Summary Add void casts to mark the variables used, next to the places where
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Apr 5 2022, 4:19 AM This revision was landed with ongoing or failed builds.Apr 6 2022, 12:02 AM Closed by commit rG46776f7556a3: Fix warnings about variables that are set but only used in debug mode (authored by mstorsjo). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 420445 lld/wasm/InputFiles.cpp
lld/wasm/SyntheticSections.cpp
llvm/lib/Analysis/LoopInfo.cpp
llvm/lib/CodeGen/MIRFSDiscriminator.cpp
llvm/lib/CodeGen/RegAllocPBQP.cpp
llvm/lib/CodeGen/StackColoring.cpp
llvm/lib/Target/AArch64/AArch64A53Fix835769.cpp
llvm/lib/Target/X86/X86FastTileConfig.cpp
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp
llvm/utils/TableGen/CodeGenRegisters.cpp
llvm/utils/TableGen/DFAEmitter.cpp
llvm/utils/TableGen/GlobalISelEmitter.cpp
llvm/utils/TableGen/RegisterInfoEmitter.cpp
|
clang-format: please reformat the code