=?utf-8?q?Mészáros?= Gergely <[email protected]>,
=?utf-8?q?Mészáros?= Gergely <[email protected]>,Gergely
 Meszaros <[email protected]>,Gergely Meszaros
 <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


================

----------------
tahonermann wrote:

Assuming this enumeration is only intended to be used with the matching 
diagnostic, it can be generated through the use of `%enum_select` in the 
definition of the diagnostic. See 
https://github.com/llvm/llvm-project/pull/173122 for an example. Letting 
`tblgen` generate it avoids any possibility of the enumerators not matching the 
diagnostic indices as well as the need to introduce this header file and 
inclusions of it.

https://github.com/llvm/llvm-project/pull/152528
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to