diff options
Diffstat (limited to 'clang/docs/UsersManual.rst')
-rw-r--r-- | clang/docs/UsersManual.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index 24da5491852..e041e388762 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -996,8 +996,8 @@ In addition to the traditional ``-W`` flags, one can enable **all** diagnostics by passing :option:`-Weverything`. This works as expected with :option:`-Werror`, and also includes the warnings from :option:`-pedantic`. Some diagnostics contradict each other, therefore, users of :option:`-Weverything` -often disable many diagnostics such as :option:`-Wno-c++98-compat` -:option:`-Wno-c++-compat` because they contradict recent C++ standards. +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 |