[clang] [clang][Sema] Add -Wswitch-default warning option (PR #73077)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 20 04:58:28 PST 2023


gendalph wrote:

Using an enum class without default is a good opportunity to get a warning in all places of use in the switch construct when adding new elements to the enum

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


More information about the cfe-commits mailing list