mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
Change two unnecessary uses of llvm::size(C) to C.size()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1751,16 +1751,14 @@ static void printNode(raw_ostream &OS, LazyCallGraph::Node &N) {
|
||||
}
|
||||
|
||||
static void printSCC(raw_ostream &OS, LazyCallGraph::SCC &C) {
|
||||
ptrdiff_t Size = size(C);
|
||||
OS << " SCC with " << Size << " functions:\n";
|
||||
OS << " SCC with " << C.size() << " functions:\n";
|
||||
|
||||
for (LazyCallGraph::Node &N : C)
|
||||
OS << " " << N.getFunction().getName() << "\n";
|
||||
}
|
||||
|
||||
static void printRefSCC(raw_ostream &OS, LazyCallGraph::RefSCC &C) {
|
||||
ptrdiff_t Size = size(C);
|
||||
OS << " RefSCC with " << Size << " call SCCs:\n";
|
||||
OS << " RefSCC with " << C.size() << " call SCCs:\n";
|
||||
|
||||
for (LazyCallGraph::SCC &InnerC : C)
|
||||
printSCC(OS, InnerC);
|
||||
|
||||
Reference in New Issue
Block a user