mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
This reverts commit r234460 and r234461.
Revert "Add classof implementations to the raw_ostream classes." Revert "Use the cast machinery to remove dummy uses of formatted_raw_ostream." The underlying issue can be fixed without classof. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -114,8 +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 = cast<circular_raw_ostream>(llvm::dbgs());
|
||||
dbgout.flushBufferWithBanner();
|
||||
llvm::circular_raw_ostream *dbgout =
|
||||
static_cast<llvm::circular_raw_ostream *>(&llvm::dbgs());
|
||||
dbgout->flushBufferWithBanner();
|
||||
}
|
||||
|
||||
/// dbgs - Return a circular-buffered debug stream.
|
||||
|
Reference in New Issue
Block a user