Misc cleanup. NFC.

These were lost when I reverted the raw_ostream changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234504 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-04-09 16:59:07 +00:00
parent 6b5c9d5dd2
commit b7fc45006e
2 changed files with 7 additions and 7 deletions

View File

@ -114,9 +114,9 @@ static void debug_user_sig_handler(void *Cookie) {
// know that debug mode is enabled and dbgs() really is a
// circular_raw_ostream. If NDEBUG is defined, then dbgs() ==
// errs() but this will never be invoked.
llvm::circular_raw_ostream *dbgout =
static_cast<llvm::circular_raw_ostream *>(&llvm::dbgs());
dbgout->flushBufferWithBanner();
llvm::circular_raw_ostream &dbgout =
static_cast<circular_raw_ostream &>(llvm::dbgs());
dbgout.flushBufferWithBanner();
}
/// dbgs - Return a circular-buffered debug stream.