foxtran wrote: > Will it have redefinition problem since I need to share this enum between two > diagnostics?
Unfortunately, yes... https://github.com/llvm/llvm-project/blob/785a5b4676e7aa77904babb9f66e862b5fc39295/clang/test/TableGen/select-enum-errors.td#L15-L20 https://github.com/llvm/llvm-project/pull/127546 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits