[llvm-branch-commits] [llvm] 0935b0c - [NFC] Remove unused function

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 21 14:44:34 PST 2020


Author: Arthur Eubanks
Date: 2020-12-21T14:39:35-08:00
New Revision: 0935b0c8695dcc203918d417b27642cb95d1cb8f

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

LOG: [NFC] Remove unused function

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 f356aec9e0a1..7478e1726366 100644
--- a/llvm/include/llvm/Analysis/LazyCallGraph.h
+++ b/llvm/include/llvm/Analysis/LazyCallGraph.h
@@ -258,7 +258,6 @@ class LazyCallGraph {
     iterator begin() { return iterator(Edges.begin(), Edges.end()); }
     iterator end() { return iterator(Edges.end(), Edges.end()); }
 
-    Edge &operator[](int i) { return Edges[i]; }
     Edge &operator[](Node &N) {
       assert(EdgeIndexMap.find(&N) != EdgeIndexMap.end() && "No such edge!");
       auto &E = Edges[EdgeIndexMap.find(&N)->second];


        


More information about the llvm-branch-commits mailing list