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

InvalidIndex -> NoneIndex in comments (#5012)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 год назад
Родитель
Сommit
29c1f552c7
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      toolchain/sem_ir/inst.h

+ 4 - 4
toolchain/sem_ir/inst.h

@@ -239,12 +239,12 @@ class Inst : public Printable<Inst> {
     return ArgKinds(kind());
   }
 
-  // Gets the first argument of the instruction. InvalidIndex if there is no
-  // such argument.
+  // Gets the first argument of the instruction. NoneIndex if there is no such
+  // argument.
   auto arg0() const -> int32_t { return arg0_; }
 
-  // Gets the second argument of the instruction. InvalidIndex if there is no
-  // such argument.
+  // Gets the second argument of the instruction. NoneIndex if there is no such
+  // argument.
   auto arg1() const -> int32_t { return arg1_; }
 
   // Sets the type of this instruction.