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:
@@ -68,9 +68,9 @@ bool llvm::isCurrentDebugType(const char *DebugType) {
|
||||
// places the std::c* I/O streams into one .cpp file and relieves the whole
|
||||
// program from having to have hundreds of static c'tor/d'tors for them.
|
||||
//
|
||||
llvm_ostream llvm::getErrorOutputStream(const char *DebugType) {
|
||||
OStream llvm::getErrorOutputStream(const char *DebugType) {
|
||||
if (DebugFlag && isCurrentDebugType(DebugType))
|
||||
return llvm_cerr;
|
||||
return cerr;
|
||||
else
|
||||
return llvm_null;
|
||||
return NullStream;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user