diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-18 20:43:16 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-23 22:16:15 +0100 |
commit | 44ea32ace410071494726eeaf69489bad1423591 (patch) | |
tree | 9f9a116b006225a3a9e808d049b1adca21a7773a /cmake/compiler/clang/settings.cmake | |
parent | ad340466d09ae6de8adc20949f433772cb016b54 (diff) |
Build: Enable -Wimplicit-fallthrough on clang (#25056)
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
Diffstat (limited to 'cmake/compiler/clang/settings.cmake')
-rw-r--r-- | cmake/compiler/clang/settings.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/compiler/clang/settings.cmake b/cmake/compiler/clang/settings.cmake index 19d7222b65a..2a3ed8e1dd3 100644 --- a/cmake/compiler/clang/settings.cmake +++ b/cmake/compiler/clang/settings.cmake @@ -11,6 +11,7 @@ if(WITH_WARNINGS) -W -Wall -Wextra + -Wimplicit-fallthrough -Winit-self -Wfatal-errors -Wno-mismatched-tags |