1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[llvm-mca] Addressing build failures due to missing override specifiers

This commit is contained in:
Wolfgang Pieb 2021-01-21 17:30:59 -08:00
parent 2134974a6f
commit 324316815f
4 changed files with 4 additions and 4 deletions

View File

@ -141,7 +141,7 @@ json::Value InstructionInfoView::toJSON() const {
collectData(IIVD);
json::Array InstInfo;
for (const auto I : enumerate(IIVD)) {
for (const auto &I : enumerate(IIVD)) {
const InstructionInfoViewData &IIVDEntry = I.value();
json::Object JO = toJSON(IIVDEntry);
JO.try_emplace("Instruction", (unsigned)I.index());

View File

@ -78,7 +78,7 @@ public:
void printView(llvm::raw_ostream &OS) const override;
StringRef getNameAsString() const override { return "InstructionInfoView"; }
json::Value toJSON() const;
json::Value toJSON() const override;
json::Object toJSON(const InstructionInfoViewData &IIVD) const;
};
} // namespace mca

View File

@ -95,7 +95,7 @@ public:
printResourcePressurePerInst(OS);
}
StringRef getNameAsString() const override { return "ResourcePressureView"; }
json::Value toJSON() const;
json::Value toJSON() const override;
};
} // namespace mca
} // namespace llvm

View File

@ -180,7 +180,7 @@ public:
printAverageWaitTimes(OS);
}
StringRef getNameAsString() const override { return "TimelineView"; }
json::Value toJSON() const;
json::Value toJSON() const override;
};
} // namespace mca
} // namespace llvm