[llvm] 732e896 - [Scalar] Remove a redundant declaration (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 31 14:02:35 PST 2021
Author: Kazu Hirata
Date: 2021-12-31T14:02:29-08:00
New Revision: 732e8968a82d7128b5b264023c00c1478a3fe677
URL: https://github.com/llvm/llvm-project/commit/732e8968a82d7128b5b264023c00c1478a3fe677
DIFF: https://github.com/llvm/llvm-project/commit/732e8968a82d7128b5b264023c00c1478a3fe677.diff
LOG: [Scalar] Remove a redundant declaration (NFC)
InitializePasses.h contains the proper declaration.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
index 883d4afff3bd8..8f5933b7bd71a 100644
--- a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
+++ b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
@@ -250,12 +250,6 @@ class InferAddressSpacesImpl {
char InferAddressSpaces::ID = 0;
-namespace llvm {
-
-void initializeInferAddressSpacesPass(PassRegistry &);
-
-} // end namespace llvm
-
INITIALIZE_PASS_BEGIN(InferAddressSpaces, DEBUG_TYPE, "Infer address spaces",
false, false)
INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
More information about the llvm-commits
mailing list