matthias-springer wrote: I'm fine with a type, but two people from different projects have asked for an interface. Let me get back to them, to see if there's a reason why they would prefer an interface. https://github.com/llvm/llvm-project/pull/195640