[C++11] Add 'override' keyword to virtual methods that override their base class.
[oota-llvm.git] / tools / llvm-diff / DiffConsumer.h
index 6c2209f27e66b1b59b8be11d123bfadf6f3d1c16..ac13a5e3e5ccc5c232a0e309926f0b1b61bf2094 100644 (file)
@@ -79,11 +79,11 @@ namespace llvm {
       : out(errs()), Differences(false), Indent(0) {}
 
     bool hadDifferences() const;
-    void enterContext(Value *L, Value *R);
-    void exitContext();
-    void log(StringRef text);
-    void logf(const LogBuilder &Log);
-    void logd(const DiffLogBuilder &Log);
+    void enterContext(Value *L, Value *R) override;
+    void exitContext() override;
+    void log(StringRef text) override;
+    void logf(const LogBuilder &Log) override;
+    void logd(const DiffLogBuilder &Log) override;
   };
 }