Use 'override/final' instead of 'virtual' for overridden methods
[oota-llvm.git] / include / llvm / Support / raw_os_ostream.h
index 9bfce437f7747cf89bc0eac76673f0b2c76c8bde..a983aeb90879c5fe71eb85d5d094dcc585ed23a8 100644 (file)
@@ -26,15 +26,15 @@ class raw_os_ostream : public raw_ostream {
   std::ostream &OS;
 
   /// write_impl - See raw_ostream::write_impl.
-  virtual void write_impl(const char *Ptr, size_t Size) override;
+  void write_impl(const char *Ptr, size_t Size) override;
 
   /// current_pos - Return the current position within the stream, not
   /// counting the bytes currently in the buffer.
-  virtual uint64_t current_pos() const override;
+  uint64_t current_pos() const override;
 
 public:
   raw_os_ostream(std::ostream &O) : OS(O) {}
-  ~raw_os_ostream();
+  ~raw_os_ostream() override;
 };
 
 } // end llvm namespace