Fix missing override
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 31 Mar 2020 07:41:36 +0000 (07:41 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 31 Mar 2020 07:41:36 +0000 (07:41 +0000)
llvm/include/llvm/ProfileData/SampleProfReader.h

index 23a2519..0e8ee76 100644 (file)
@@ -656,7 +656,7 @@ public:
   void collectFuncsFrom(const Module &M) override;
 
   /// Return whether names in the profile are all MD5 numbers.
-  virtual bool useMD5() {
+  virtual bool useMD5() override {
     assert(!NameTable.empty() && "NameTable should have been initialized");
     return MD5StringBuf && !MD5StringBuf->empty();
   }
@@ -695,7 +695,7 @@ public:
   void collectFuncsFrom(const Module &M) override;
 
   /// Return whether names in the profile are all MD5 numbers.
-  virtual bool useMD5() { return true; }
+  virtual bool useMD5() override { return true; }
 };
 
 using InlineCallStack = SmallVector<FunctionSamples *, 10>;