diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-05 00:44:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-05 00:44:01 +0000 |
commit | c2a9eeb2734ac81980d38de0cddced15c1fbfd4e (patch) | |
tree | 2aead39451a1e854d3fe45aa00ffb2af1fbb1569 /lib/Support/GraphWriter.cpp | |
parent | d9283ed7468d1c443bf5f80665f0e2c349ed8c10 (diff) |
cerr isn't buffered so it doesn't need to be flushed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/GraphWriter.cpp')
-rw-r--r-- | lib/Support/GraphWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/GraphWriter.cpp b/lib/Support/GraphWriter.cpp index d0be7a180c..4ec0bf86e5 100644 --- a/lib/Support/GraphWriter.cpp +++ b/lib/Support/GraphWriter.cpp @@ -29,7 +29,7 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, args.push_back(Filename.c_str()); args.push_back(0); - cerr << "Running 'Graphviz' program... " << std::flush; + cerr << "Running 'Graphviz' program... "; if (sys::Program::ExecuteAndWait(Graphviz, &args[0],0,0,0,0,&ErrMsg)) { cerr << "Error viewing graph " << Filename << ": " << ErrMsg << "\n"; } @@ -98,7 +98,7 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, args.push_back(PSFilename.c_str()); args.push_back(0); - cerr << "Running '" << prog << "' program... " << std::flush; + cerr << "Running '" << prog << "' program... "; if (sys::Program::ExecuteAndWait(prog, &args[0],0,0,0,0,&ErrMsg)) { cerr << "Error viewing graph " << Filename << ": '" << ErrMsg << "\n"; @@ -133,7 +133,7 @@ void llvm::DisplayGraph(const sys::Path &Filename, bool wait, args.push_back(Filename.c_str()); args.push_back(0); - cerr << "Running 'dotty' program... " << std::flush; + cerr << "Running 'dotty' program... "; if (sys::Program::ExecuteAndWait(dotty, &args[0],0,0,0,0,&ErrMsg)) { cerr << "Error viewing graph " << Filename << ": " << ErrMsg << "\n"; } else { |