[llvm-branch-commits] [llvm] df73b8c - [ValueMapper] Remove unused declaration remapFunction (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Nov 22 21:57:10 PST 2020


Author: Kazu Hirata
Date: 2020-11-22T21:52:03-08:00
New Revision: df73b8c174820557608bf364dcf4dfb2bdc1811e

URL: https://github.com/llvm/llvm-project/commit/df73b8c174820557608bf364dcf4dfb2bdc1811e
DIFF: https://github.com/llvm/llvm-project/commit/df73b8c174820557608bf364dcf4dfb2bdc1811e.diff

LOG: [ValueMapper] Remove unused declaration remapFunction (NFC)

The function declaration with two parameters was introduced on Apr 16
2016 in commit f0d73f95c15f909c6034f1735632695248bb75a8 without a
corresponding definition.

Added: 
    

Modified: 
    llvm/lib/Transforms/Utils/ValueMapper.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp
index ec5769309f86..fac7b555e975 100644
--- a/llvm/lib/Transforms/Utils/ValueMapper.cpp
+++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp
@@ -172,7 +172,6 @@ class Mapper {
                             bool IsOldCtorDtor,
                             ArrayRef<Constant *> NewMembers);
   void mapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target);
-  void remapFunction(Function &F, ValueToValueMapTy &VM);
 
   ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; }
   ValueMaterializer *getMaterializer() { return MCs[CurrentMCID].Materializer; }


        


More information about the llvm-branch-commits mailing list