From df73b8c174820557608bf364dcf4dfb2bdc1811e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 22 Nov 2020 21:52:03 -0800 Subject: [PATCH] [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. --- llvm/lib/Transforms/Utils/ValueMapper.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index ec57693..fac7b55 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp @@ -172,7 +172,6 @@ private: bool IsOldCtorDtor, ArrayRef 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; } -- 2.7.4