Skip to content

Commit 9ccb0ce

Browse files
Reformat
Co-authored-by: Carbon Infra Bot <[email protected]>
1 parent 0a83d81 commit 9ccb0ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

toolchain/check/eval_inst.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,8 @@ auto EvalConstantInst(Context& context, SemIR::BindAlias inst)
106106
auto EvalConstantInst(Context& context, SemIR::BindName inst)
107107
-> ConstantEvalResult {
108108
// A reference binding evaluates to the value it's bound to.
109-
if (inst.value_id.has_value() &&
110-
SemIR::IsRefCategory(
111-
SemIR::GetExprCategory(context.sem_ir(), inst.value_id))) {
109+
if (inst.value_id.has_value() && SemIR::IsRefCategory(SemIR::GetExprCategory(
110+
context.sem_ir(), inst.value_id))) {
112111
return ConstantEvalResult::Existing(
113112
context.constant_values().Get(inst.value_id));
114113
}

0 commit comments

Comments
 (0)