[llvm] 0a4e028 - [Analysis] Remove unused declaration replaceEdgeKey (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 13 10:04:07 PST 2020
Author: Kazu Hirata
Date: 2020-12-13T10:03:45-08:00
New Revision: 0a4e028d13a4708e60c0cd36bf5efd18d3181ac8
URL: https://github.com/llvm/llvm-project/commit/0a4e028d13a4708e60c0cd36bf5efd18d3181ac8
DIFF: https://github.com/llvm/llvm-project/commit/0a4e028d13a4708e60c0cd36bf5efd18d3181ac8.diff
LOG: [Analysis] Remove unused declaration replaceEdgeKey (NFC)
The declaration was introduced without a corresponding definition on
Feb 9, 2017 in commit aaad9f84be2a6a3eb8202ed4eaa5e5e2021d055e.
Added:
Modified:
llvm/include/llvm/Analysis/LazyCallGraph.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/LazyCallGraph.h b/llvm/include/llvm/Analysis/LazyCallGraph.h
index aa0758165598..f356aec9e0a1 100644
--- a/llvm/include/llvm/Analysis/LazyCallGraph.h
+++ b/llvm/include/llvm/Analysis/LazyCallGraph.h
@@ -305,13 +305,6 @@ class LazyCallGraph {
/// Internal helper to remove the edge to the given function.
bool removeEdgeInternal(Node &ChildN);
-
- /// Internal helper to replace an edge key with a new one.
- ///
- /// This should be used when the function for a particular node in the
- /// graph gets replaced and we are updating all of the edges to that node
- /// to use the new function as the key.
- void replaceEdgeKey(Function &OldTarget, Function &NewTarget);
};
/// A node in the call graph.
More information about the llvm-commits
mailing list