[llvm] 6e43cdb - [CodeGen] Remove unused variable 'ID' (NFC)
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 30 04:16:48 PDT 2025
Author: Jie Fu
Date: 2025-04-30T19:15:27+08:00
New Revision: 6e43cdbc25e90d88251d69519822713afc20108c
URL: https://github.com/llvm/llvm-project/commit/6e43cdbc25e90d88251d69519822713afc20108c
DIFF: https://github.com/llvm/llvm-project/commit/6e43cdbc25e90d88251d69519822713afc20108c.diff
LOG: [CodeGen] Remove unused variable 'ID' (NFC)
/llvm-project/llvm/lib/CodeGen/VirtRegMap.cpp:225:15:
error: unused variable 'ID' [-Werror,-Wunused-variable]
static char ID;
^
1 error generated.
Added:
Modified:
llvm/lib/CodeGen/VirtRegMap.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/VirtRegMap.cpp b/llvm/lib/CodeGen/VirtRegMap.cpp
index 60859fdcd59cf..49e819e2d10f7 100644
--- a/llvm/lib/CodeGen/VirtRegMap.cpp
+++ b/llvm/lib/CodeGen/VirtRegMap.cpp
@@ -222,7 +222,6 @@ class VirtRegRewriter {
MCRegister PhysReg, const MachineInstr &MI) const;
public:
- static char ID;
VirtRegRewriter(bool ClearVirtRegs, SlotIndexes *Indexes, LiveIntervals *LIS,
LiveRegMatrix *LRM, VirtRegMap *VRM,
LiveDebugVariables *DebugVars)
More information about the llvm-commits
mailing list