diff --git a/toolchain/sem_ir/ids.h b/toolchain/sem_ir/ids.h index c0e25d15ae2c1..d57ee5e316824 100644 --- a/toolchain/sem_ir/ids.h +++ b/toolchain/sem_ir/ids.h @@ -649,6 +649,7 @@ constexpr NameScopeId NameScopeId::Package = NameScopeId(0); // The ID of an instruction block. struct InstBlockId : public IdBase, public Printable { + // Constants for BlockValueStore. using ElementType = InstId; using ValueType = llvm::MutableArrayRef; @@ -704,6 +705,7 @@ constexpr InstBlockId InstBlockId::Unreachable = InstBlockId(InvalidIndex - 1); // The ID of a type block. struct StructTypeFieldsId : public IdBase, public Printable { + // Constants for BlockValueStore. using ElementType = StructTypeField; using ValueType = llvm::MutableArrayRef; @@ -781,6 +783,7 @@ constexpr TypeId TypeId::Invalid = TypeId(InvalidIndex); // The ID of a type block. struct TypeBlockId : public IdBase, public Printable { + // Constants for BlockValueStore. using ElementType = TypeId; using ValueType = llvm::MutableArrayRef;