Avoid duplicate entry for cortex-a7 in the TargetParser (NFC)
[oota-llvm.git] / include / llvm / Support / raw_ostream.h
index 5000774a6cdb797f1abe7f8dd609a4e7c6ac5fa8..e5cc40e7d6b22d99790b572b0302378150b99abf 100644 (file)
@@ -509,8 +509,7 @@ public:
   }
   ~raw_svector_ostream() override {}
 
-  // FIXME: resync is no-op. Remove it and its users.
-  void resync() {}
+  void flush() = delete;
 
   /// Return a StringRef for the vector contents.
   StringRef str() { return StringRef(OS.data(), OS.size()); }
@@ -537,9 +536,9 @@ class buffer_ostream : public raw_svector_ostream {
 
 public:
   buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {}
-  ~buffer_ostream() { OS << str(); }
+  ~buffer_ostream() override { OS << str(); }
 };
 
 } // end llvm namespace
 
-#endif
+#endif // LLVM_SUPPORT_RAW_OSTREAM_H