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

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


gendalph wrote:

In real projects mix enum class with old int switch. Try to update defaults and have noise from enum class case.
My be mix options -Wswitch  -Wswitch-default can disable warning in enum class case without default if full covered?

https://godbolt.org/z/xrdafn6WK

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


More information about the cfe-commits mailing list