From: Arthur Eubanks Date: Mon, 21 Dec 2020 22:39:19 +0000 (-0800) Subject: [NFC] Remove unused function X-Git-Tag: llvmorg-13-init~2787 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0935b0c8695dcc203918d417b27642cb95d1cb8f;p=platform%2Fupstream%2Fllvm.git [NFC] Remove unused function --- diff --git a/llvm/include/llvm/Analysis/LazyCallGraph.h b/llvm/include/llvm/Analysis/LazyCallGraph.h index f356aec..7478e17 100644 --- a/llvm/include/llvm/Analysis/LazyCallGraph.h +++ b/llvm/include/llvm/Analysis/LazyCallGraph.h @@ -258,7 +258,6 @@ public: 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];