https://github.com/fhahn commented: I am wondering if there's any API we could come up with that would make it easier to avoid missing cases to update when we add new flags https://github.com/llvm/llvm-project/pull/140266