aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/MIR/MIRDocumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/MIR/MIRDocumentParser.h')
-rw-r--r--backend/lib/MIR/MIRDocumentParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/lib/MIR/MIRDocumentParser.h b/backend/lib/MIR/MIRDocumentParser.h
index 53a31b4..3fade39 100644
--- a/backend/lib/MIR/MIRDocumentParser.h
+++ b/backend/lib/MIR/MIRDocumentParser.h
@@ -97,8 +97,8 @@ private:
std::span<const PendingJumpTable> Pending);
[[nodiscard]] bool parseBody(const yaml::Node &Root, MachineFunction &Function,
MIParserContext &Context);
- [[nodiscard]] TextRange bodyDiagnosticRange(const yaml::Node &Body,
- const TextRange &BodyRange) const noexcept;
+ [[nodiscard]] TextRange scalarDiagnosticRange(const yaml::Node &Scalar,
+ const TextRange &ScalarRange) const noexcept;
[[nodiscard]] bool parseFunctionRecords(const yaml::Node &Root, MachineFunction &Function);
[[nodiscard]] bool parseTargetState(const yaml::Node &Root, MachineFunction &Function);
[[nodiscard]] bool convertTargetNode(const yaml::Node &Source, MIRTargetNode &Destination);