Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
zygoloid committed Dec 11, 2024
1 parent caa4d75 commit fb92262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion toolchain/check/eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class EvalContext {
Context& context, SemIRLoc fallback_loc,
SemIR::SpecificId specific_id = SemIR::SpecificId::Invalid,
std::optional<SpecificEvalInfo> specific_eval_info = std::nullopt)
: context_(context), fallback_loc_(fallback_loc),
: context_(context),
fallback_loc_(fallback_loc),
specific_id_(specific_id),
specific_eval_info_(specific_eval_info) {}

Expand Down
3 changes: 2 additions & 1 deletion toolchain/sem_ir/stringify_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ auto StringifyTypeExpr(const SemIR::File& sem_ir, InstId outer_inst_id)
case CARBON_KIND(SpecificFunction inst): {
auto callee = SemIR::GetCalleeFunction(sem_ir, inst.callee_id);
if (callee.function_id.is_valid()) {
step_stack.PushEntityName(sem_ir.functions().Get(callee.function_id), inst.specific_id);
step_stack.PushEntityName(sem_ir.functions().Get(callee.function_id),
inst.specific_id);
} else {
step_stack.PushString("<invalid specific function>");
}
Expand Down

0 comments on commit fb92262

Please sign in to comment.