From 732e8968a82d7128b5b264023c00c1478a3fe677 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 31 Dec 2021 14:02:29 -0800 Subject: [PATCH] [Scalar] Remove a redundant declaration (NFC) InitializePasses.h contains the proper declaration. Identified with readability-redundant-declaration. --- llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp index 883d4afff3bd..8f5933b7bd71 100644 --- a/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp +++ b/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp @@ -250,12 +250,6 @@ public: 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)