[llvm-commits] CVS: llvm/projects/Stacker/tools/stkrc/stkrc.cpp
Bill Wendling
isanbard at gmail.com
Wed Dec 6 17:32:02 PST 2006
Changes in directory llvm/projects/Stacker/tools/stkrc:
stkrc.cpp updated: 1.12 -> 1.13
---
Log message:
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.
---
Diffs of the changes: (+4 -4)
stkrc.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/projects/Stacker/tools/stkrc/stkrc.cpp
diff -u llvm/projects/Stacker/tools/stkrc/stkrc.cpp:1.12 llvm/projects/Stacker/tools/stkrc/stkrc.cpp:1.13
--- llvm/projects/Stacker/tools/stkrc/stkrc.cpp:1.12 Tue Nov 28 18:19:40 2006
+++ llvm/projects/Stacker/tools/stkrc/stkrc.cpp Wed Dec 6 19:30:31 2006
@@ -115,7 +115,7 @@
}
if (DumpAsm)
- llvm_cerr << "Here's the assembly:" << M.get();
+ cerr << "Here's the assembly:" << M.get();
if (OutputFilename != "") { // Specified an output filename?
if (OutputFilename != "-") { // Not stdout?
@@ -163,15 +163,15 @@
throw std::string("error opening ") + OutputFilename + "!";
}
- llvm_ostream L(*Out);
+ OStream L(*Out);
WriteBytecodeToFile(M.get(), L);
} catch (const ParseError &E) {
- llvm_cerr << argv[0] << ": " << E.getMessage() << "\n";
+ cerr << argv[0] << ": " << E.getMessage() << "\n";
return 1;
}
}
catch (const std::string& msg ) {
- llvm_cerr << argv[0] << ": " << msg << "\n";
+ cerr << argv[0] << ": " << msg << "\n";
return 1;
}
More information about the llvm-commits
mailing list