Просмотр исходного кода

Fix comment to match case of parameter name (#6839)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 месяц назад
Родитель
Сommit
c837c004bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      toolchain/lower/constant.cpp

+ 1 - 1
toolchain/lower/constant.cpp

@@ -287,7 +287,7 @@ static auto EmitAsConstant(ConstantContext& context, SemIR::StringLiteral inst)
   return llvm::IRBuilder<>(context.llvm_context())
       .CreateGlobalString(
           context.sem_ir().string_literal_values().Get(inst.string_literal_id),
-          /*name=*/"", /*address_space=*/0, &context.llvm_module());
+          /*Name=*/"", /*AddressSpace=*/0, &context.llvm_module());
 }
 
 static auto EmitAsConstant(ConstantContext& context,