Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danakj committed Dec 12, 2024
1 parent 2791cbc commit c2d0cb3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions toolchain/check/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,11 +788,11 @@ static auto PerformBuiltinConversion(Context& context, SemIR::LocId loc_id,
// foundation and back down, and a conversion of the initializing object if
// there is one.
//
// Note we do the conversion through a PerformBuiltinConversion() call
// rather than a Convert() call to avoid extraneous `converted` semir
// instructions on the adapted types, and as a shortcut to doing the
// explicit calls to walk the parts of the tuple/struct which happens inside
// PerformBuiltinConversion().
// Implementation note: We do the conversion through a call to
// PerformBuiltinConversion() call than a Convert() call to avoid extraneous
// `converted` semir instructions on the adapted types, and as a shortcut to
// doing the explicit calls to walk the parts of the tuple/struct which
// happens inside PerformBuiltinConversion().
if (auto foundation_type_id =
GetCompatibleFoundationType(context, value_type_id);
foundation_type_id != value_type_id &&
Expand Down

0 comments on commit c2d0cb3

Please sign in to comment.