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:
parent
2134974a6f
commit
324316815f
@ -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());
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user