Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add -Wswitch to clang for more consistency with gcc
gcc12 and gcc13 appear to include Wswitch with Wall, while clang doesn't. For switch() statements on enum, this forces the use of at least a default: clause, in adherance with style(9). Reviewed By: emaste Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D44092
- Loading branch information