]> granicus.if.org Git - clang/commitdiff
[docs] don't use :option: for C++ compat
authorJF Bastien <jfbastien@apple.com>
Mon, 5 Aug 2019 19:45:23 +0000 (19:45 +0000)
committerJF Bastien <jfbastien@apple.com>
Mon, 5 Aug 2019 19:45:23 +0000 (19:45 +0000)
The bots are sad that they're not documented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367914 91177308-0d34-0410-b5e6-96231b3b80d8

docs/UsersManual.rst

index 24da54918526deb00cf42f47d7f13226172d7d07..e041e388762d7180a024b5318d3dbaaabe5cbbca 100644 (file)
@@ -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