mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +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:
@ -140,12 +140,8 @@ public:
|
||||
uint64_t current_pos() const override { return Count; }
|
||||
|
||||
public:
|
||||
raw_counting_ostream() : raw_ostream(SK_COUNTING), Count(0) {}
|
||||
raw_counting_ostream() : Count(0) {}
|
||||
~raw_counting_ostream() { flush(); }
|
||||
|
||||
static bool classof(const raw_ostream *OS) {
|
||||
return OS->getKind() == SK_COUNTING;
|
||||
}
|
||||
};
|
||||
|
||||
raw_counting_ostream OutStream;
|
||||
|
Reference in New Issue
Block a user