Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are

now cerr, cout, and NullStream resp.

llvm-svn: 32298
This commit is contained in:
Bill Wendling
2006-12-07 01:30:32 +00:00
parent d8e7451dc3
commit f3baad3ee1
111 changed files with 1852 additions and 1687 deletions

View File

@@ -92,14 +92,14 @@ namespace {
struct CFGPrinter : public FunctionPass {
virtual bool runOnFunction(Function &F) {
std::string Filename = "cfg." + F.getName() + ".dot";
llvm_cerr << "Writing '" << Filename << "'...";
cerr << "Writing '" << Filename << "'...";
std::ofstream File(Filename.c_str());
if (File.good())
WriteGraph(File, (const Function*)&F);
else
llvm_cerr << " error opening file for writing!";
llvm_cerr << "\n";
cerr << " error opening file for writing!";
cerr << "\n";
return false;
}