Przeglądaj źródła

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

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 miesiąc temu
rodzic
commit
c837c004bc
1 zmienionych plików z 1 dodań i 1 usunięć
  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,