diff options
author | JF Bastien <jfbastien@apple.com> | 2019-08-05 19:45:23 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2019-08-05 19:45:23 +0000 |
commit | 36eab654c5c3e60329e731ed21d17f31ec70df3e (patch) | |
tree | 4a43e74bed6f39bb1c8f892749d4db3f2483a804 | |
parent | 6fe88c3012baa7406ff833390713268400f06bbf (diff) | |
download | bcm5719-llvm-36eab654c5c3e60329e731ed21d17f31ec70df3e.tar.gz bcm5719-llvm-36eab654c5c3e60329e731ed21d17f31ec70df3e.zip |
[docs] don't use :option: for C++ compat
The bots are sad that they're not documented.
llvm-svn: 367914
-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 |