nikic wrote: Might it make sense to verify these directly on construction? I'm thinking of having a fallible implementation returning Error that's used by LLParser and then the normal constructor calls it with cantFail. https://github.com/llvm/llvm-project/pull/105084