[llvm] [CodeGen] Remove redundant ID in WinEHPrepareImpl (PR #74322)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 06:14:27 PST 2023


https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/74322

Fix ppc build bot

>From f4600c4aea08f55594539bdd4a202a88398826c5 Mon Sep 17 00:00:00 2001
From: PaperChalice <29250197+paperchalice at users.noreply.github.com>
Date: Mon, 4 Dec 2023 22:13:48 +0800
Subject: [PATCH] [CodeGen] Remove redundant ID in WinEHPrepareImpl Fix ppc
 build bot

---
 llvm/lib/CodeGen/WinEHPrepare.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/lib/CodeGen/WinEHPrepare.cpp b/llvm/lib/CodeGen/WinEHPrepare.cpp
index 1bd91e58fea15..347bada6f69d5 100644
--- a/llvm/lib/CodeGen/WinEHPrepare.cpp
+++ b/llvm/lib/CodeGen/WinEHPrepare.cpp
@@ -61,7 +61,6 @@ namespace {
 
 class WinEHPrepareImpl {
 public:
-  static char ID; // Pass identification, replacement for typeid.
   WinEHPrepareImpl(bool DemoteCatchSwitchPHIOnly)
       : DemoteCatchSwitchPHIOnly(DemoteCatchSwitchPHIOnly) {}
 



More information about the llvm-commits mailing list