[llvm] [NFC] Fix Werror=extra warning related to mismatched enum type (PR #112808)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 07:27:59 PDT 2024


https://github.com/jh7370 approved this pull request.

LGTM, but I still think this an overzealous warning that, at least in this case, makes the code objectively worse.

@MaskRay, what would you think about changing the SHF_* values to integral constants of some kind, rather than using an enum?

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


More information about the llvm-commits mailing list