r367914 - [docs] don't use :option: for C++ compat

JF Bastien via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 12:45:23 PDT 2019


Author: jfb
Date: Mon Aug  5 12:45:23 2019
New Revision: 367914

URL: http://llvm.org/viewvc/llvm-project?rev=367914&view=rev
Log:
[docs] don't use :option: for C++ compat

The bots are sad that they're not documented.

Modified:
    cfe/trunk/docs/UsersManual.rst

Modified: cfe/trunk/docs/UsersManual.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.rst?rev=367914&r1=367913&r2=367914&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.rst (original)
+++ cfe/trunk/docs/UsersManual.rst Mon Aug  5 12:45:23 2019
@@ -996,8 +996,8 @@ In addition to the traditional ``-W`` fl
 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




More information about the cfe-commits mailing list