From 159343cd1965c69233597b36ab27adce8bd34a14 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Tue, 31 Mar 2020 07:41:36 +0000 Subject: [PATCH] Fix missing override --- llvm/include/llvm/ProfileData/SampleProfReader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/ProfileData/SampleProfReader.h b/llvm/include/llvm/ProfileData/SampleProfReader.h index 23a2519..0e8ee76 100644 --- a/llvm/include/llvm/ProfileData/SampleProfReader.h +++ b/llvm/include/llvm/ProfileData/SampleProfReader.h @@ -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; -- 2.7.4