[llvm] 3c557cd - [CodeGen] Remove redundant declaration MIRCanonicalizerID (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 22 08:58:37 PDT 2021
Author: Kazu Hirata
Date: 2021-09-22T08:58:27-07:00
New Revision: 3c557cd7f9a5d71a763a12027f18de66f6360562
URL: https://github.com/llvm/llvm-project/commit/3c557cd7f9a5d71a763a12027f18de66f6360562
DIFF: https://github.com/llvm/llvm-project/commit/3c557cd7f9a5d71a763a12027f18de66f6360562.diff
LOG: [CodeGen] Remove redundant declaration MIRCanonicalizerID (NFC)
Note that MIRCanonicalizerID is declared in
llvm/include/llvm/CodeGen/Passes.h, which MIRCanonicalizerPass.cpp
includes.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp b/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
index 8ef6aca602a1..a1c492c8d33a 100644
--- a/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
+++ b/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp
@@ -38,10 +38,6 @@
using namespace llvm;
-namespace llvm {
-extern char &MIRCanonicalizerID;
-} // namespace llvm
-
#define DEBUG_TYPE "mir-canonicalizer"
static cl::opt<unsigned>
More information about the llvm-commits
mailing list