Ver código fonte

InvalidIndex -> NoneIndex in comments (#5012)

Co-authored-by: Josh L <josh11b@users.noreply.github.com>
josh11b 1 ano atrás
pai
commit
29c1f552c7
1 arquivos alterados com 4 adições e 4 exclusões
  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.