chapuni wrote: Does this introduce an implicit byproduct? I am not a fan of it. I suggest we could split the rule into "enums" and "bodies" with two actions rather than byproduct. https://github.com/llvm/llvm-project/pull/167700