Sirraide wrote: > Well it's not an enumeration and I can't define member functions like that. Yeah, I missed that you also have `isValid()` as a member; I thought it was only operators https://github.com/llvm/llvm-project/pull/165541