diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-18 20:43:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 20:43:16 +0200 |
commit | e6e5775be83d07c3221d6690f11184246bec4bf1 (patch) | |
tree | 4a331f7421d979bb60a3e78b5fa44430314a541b /cmake/compiler/clang/settings.cmake | |
parent | 85b5b842ca6c05d4e51081e6c3282940a80f3761 (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 bef2c20715a..959f954041e 100644 --- a/cmake/compiler/clang/settings.cmake +++ b/cmake/compiler/clang/settings.cmake @@ -9,6 +9,7 @@ if(WITH_WARNINGS) -W -Wall -Wextra + -Wimplicit-fallthrough -Winit-self -Wfatal-errors -Wno-mismatched-tags |