Last active
May 31, 2024 10:34
-
-
Save GavinRay97/bae1d93925e55ce0a0084946f24984cf to your computer and use it in GitHub Desktop.
Good Clang C++ Flags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created with: $ diagtool tree | |
-Wall | |
-Wextra | |
-Wpedantic | |
-Warray-bounds-pointer-arithmetic | |
-Wbind-to-temporary-copy | |
-Wcalled-once-parameter | |
-Wcast-align | |
-Wconditional-uninitialized | |
-Wconsumed | |
-Wcovered-switch-default | |
-Wexplicit-ownership-type | |
-Wheader-hygiene | |
-Widiomatic-parenthesis | |
-Wloop-analysis | |
-Wmain | |
-Wmethod-signatures | |
-Wmissing-noreturn | |
-Wmissing-variable-declarations | |
-Wnarrowing | |
-Wnon-gcc | |
-Wnullable-to-nonnull-conversion | |
-Wover-aligned | |
-Woverriding-method-mismatch | |
-Wpacked | |
-Wpadded | |
-Wpartial-availability | |
-Wsearch-path-usage | |
-Wstatic-in-inline | |
-Wsuggest-destructor-override | |
-Wsuggest-override | |
-Wsuper-class-method-mismatch | |
-Wtautological-constant-in-range-compare | |
-Wunaligned-access | |
-Wundefined-func-template | |
-Wunreachable-code-aggressive | |
-Wunused-member-function | |
-Wunused-template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment