diff options
author | JF Bastien <jfbastien@apple.com> | 2019-08-05 19:59:07 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2019-08-05 19:59:07 +0000 |
commit | 6e33c647f3077d91079bf4c33d03acda47a55a1c (patch) | |
tree | 4ef4f2bb0eee097a7ecc31dab866946f38e9f624 | |
parent | f1b0a93e3a777565485e165fba17c4e81ba6c127 (diff) | |
download | bcm5719-llvm-6e33c647f3077d91079bf4c33d03acda47a55a1c.tar.gz bcm5719-llvm-6e33c647f3077d91079bf4c33d03acda47a55a1c.zip |
[docs] don't use :option: for Wall Wextra
The bots are sad that they're not documented.
llvm-svn: 367918
-rw-r--r-- | clang/docs/UsersManual.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index e041e388762..ef64e9dcb7b 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -1000,13 +1000,13 @@ often disable many diagnostics such as `-Wno-c++98-compat` and `-Wno-c++-compat` because they contradict recent C++ standards. Since :option:`-Weverything` enables every diagnostic, we generally don't -recommend using it. :option:`-Wall` :option:`-Wextra` are a better choice for -most projects. Using :option:`-Weverything` means that updating your compiler is -more difficult because you're exposed to experimental diagnostics which might be -of lower quality than the default ones. If you do use :option:`-Weverything` -then we advise that you address all new compiler diagnostics as they get added -to Clang, either by fixing everything they find or explicitly disabling that -diagnostic with its corresponding `Wno-` option. +recommend using it. `-Wall` `-Wextra` are a better choice for most projects. +Using :option:`-Weverything` means that updating your compiler is more difficult +because you're exposed to experimental diagnostics which might be of lower +quality than the default ones. If you do use :option:`-Weverything` then we +advise that you address all new compiler diagnostics as they get added to Clang, +either by fixing everything they find or explicitly disabling that diagnostic +with its corresponding `Wno-` option. Note that when combined with :option:`-w` (which disables all warnings), disabling all warnings wins. |