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];


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to