forked from OSchip/llvm-project
Fix some warnings introduced by r369798.
llvm-svn: 369799
This commit is contained in:
parent
be9073249e
commit
f491d86393
llvm/include/llvm/ProfileData
|
@ -480,7 +480,7 @@ protected:
|
|||
std::error_code readSecHdrTableEntry();
|
||||
std::error_code readSecHdrTable();
|
||||
virtual std::error_code readHeader() override;
|
||||
virtual std::error_code verifySPMagic(uint64_t Magic) = 0;
|
||||
virtual std::error_code verifySPMagic(uint64_t Magic) override = 0;
|
||||
|
||||
public:
|
||||
SampleProfileReaderExtBinaryBase(std::unique_ptr<MemoryBuffer> B,
|
||||
|
|
|
@ -109,12 +109,12 @@ private:
|
|||
/// Sample-based profile writer (binary format).
|
||||
class SampleProfileWriterBinary : public SampleProfileWriter {
|
||||
public:
|
||||
virtual std::error_code writeSample(const FunctionSamples &S) override;
|
||||
|
||||
protected:
|
||||
SampleProfileWriterBinary(std::unique_ptr<raw_ostream> &OS)
|
||||
: SampleProfileWriter(OS) {}
|
||||
|
||||
virtual std::error_code writeSample(const FunctionSamples &S) override;
|
||||
|
||||
protected:
|
||||
virtual std::error_code writeMagicIdent(SampleProfileFormat Format);
|
||||
virtual std::error_code writeNameTable();
|
||||
virtual std::error_code
|
||||
|
@ -176,7 +176,7 @@ class SampleProfileWriterExtBinary : public SampleProfileWriterExtBinaryBase {
|
|||
using SampleProfileWriterExtBinaryBase::SampleProfileWriterExtBinaryBase;
|
||||
|
||||
private:
|
||||
virtual void initSectionLayout() {
|
||||
virtual void initSectionLayout() override {
|
||||
SectionLayout = {SecProfSummary, SecNameTable, SecLBRProfile};
|
||||
};
|
||||
virtual std::error_code
|
||||
|
|
Loading…
Reference in New Issue