Fix PR 23525 - Separate header mass propagation in irregular loops.
[oota-llvm.git] / include / llvm / Support / raw_os_ostream.h
index e41cc71026ff34a1df6ddb6cd0bd6e2db8749921..a983aeb90879c5fe71eb85d5d094dcc585ed23a8 100644 (file)
@@ -33,11 +33,8 @@ class raw_os_ostream : public raw_ostream {
   uint64_t current_pos() const override;
 
 public:
-  raw_os_ostream(std::ostream &O) : raw_ostream(SK_STD_OS), OS(O) {}
-  ~raw_os_ostream();
-  static bool classof(const raw_ostream *OS) {
-    return OS->getKind() == SK_STD_OS;
-  }
+  raw_os_ostream(std::ostream &O) : OS(O) {}
+  ~raw_os_ostream() override;
 };
 
 } // end llvm namespace