Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmeow committed Feb 6, 2025
1 parent 41256b3 commit d6351d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/check/sem_ir_loc_diagnostic_emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ auto SemIRLocDiagnosticEmitter::ConvertLocImpl(SemIRLoc loc,
return ConvertLocInFile(final_node_id, loc.token_only_, context_fn);
}

auto SemIRDiagnosticConverter::ConvertLocInFile(
auto SemIRLocDiagnosticEmitter::ConvertLocInFile(
SemIR::AbsoluteNodeId absolute_node_id, bool token_only,
ContextFnT /*context_fn*/) const -> ConvertedDiagnosticLoc {
const auto& tree_and_subtrees =
imported_trees_and_subtrees_[absolute_node_id.check_ir_id.index]();
tree_and_subtrees_getters_[absolute_node_id.check_ir_id.index]();
return tree_and_subtrees.NodeToDiagnosticLoc(absolute_node_id.node_id,
token_only);
}
Expand Down
1 change: 1 addition & 0 deletions toolchain/lower/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ cc_library(
"//common:vlog",
"//toolchain/base:kind_switch",
"//toolchain/check:sem_ir_diagnostic_converter",
"//toolchain/check:sem_ir_loc_diagnostic_emitter",
"//toolchain/sem_ir:absolute_node_id",
"//toolchain/sem_ir:entry_point",
"//toolchain/sem_ir:file",
Expand Down

0 comments on commit d6351d5

Please # to comment.