[clang] [NFC][Clang] Fix enumerated mismatch warning (PR #112816)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 20:59:44 PDT 2024


https://github.com/Sirraide requested changes to this pull request.

This doesn’t seem right: that diagnostic is only used in the parser, which is why it is in `DiagnosticParseKinds.td`. Instead, it’d be better to cast the two diagnostic IDs that are causing the problem to `unsigned` where they’re used.

https://github.com/llvm/llvm-project/pull/112816


More information about the cfe-commits mailing list