aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CallGraphSCCPass.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <youngsuk.kim@hpe.com>2024-09-20 12:02:24 -0500
committerYoungsuk Kim <youngsuk.kim@hpe.com>2024-09-20 12:19:59 -0500
commitd31e314131b17b0a802a80593a33cb11213c60d1 (patch)
tree3c394f629c57b2bc115651c52dd8c10cc3d57a40 /llvm/lib/Analysis/CallGraphSCCPass.cpp
parentefb583178d74b2174e8b9660b67ba7295527b09f (diff)
downloadllvm-d31e314131b17b0a802a80593a33cb11213c60d1.zip
llvm-d31e314131b17b0a802a80593a33cb11213c60d1.tar.gz
llvm-d31e314131b17b0a802a80593a33cb11213c60d1.tar.bz2
[llvm] Don't call raw_string_ostream::flush() (NFC)
Don't call raw_string_ostream::flush(), which is essentially a no-op. As specified in the docs, raw_string_ostream is always unbuffered. ( 65b13610a5226b84889b923bae884ba395ad084d for further reference )
Diffstat (limited to 'llvm/lib/Analysis/CallGraphSCCPass.cpp')
-rw-r--r--llvm/lib/Analysis/CallGraphSCCPass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CallGraphSCCPass.cpp b/llvm/lib/Analysis/CallGraphSCCPass.cpp
index ccba8b3..7caf814 100644
--- a/llvm/lib/Analysis/CallGraphSCCPass.cpp
+++ b/llvm/lib/Analysis/CallGraphSCCPass.cpp
@@ -453,7 +453,6 @@ bool CGPassManager::RunAllPassesOnSCC(CallGraphSCC &CurSCC, CallGraph &CG,
OS << LS;
CGN->print(OS);
}
- OS.flush();
#endif
dumpPassInfo(P, EXECUTION_MSG, ON_CG_MSG, Functions);
}