From: JF Bastien Date: Mon, 5 Aug 2019 19:45:23 +0000 (+0000) Subject: [docs] don't use :option: for C++ compat X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=305dbffd9e7227b74f8b7b35baf40ea2fc055a26;p=clang [docs] don't use :option: for C++ compat 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 --- diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index 24da549185..e041e38876 100644 --- a/docs/UsersManual.rst +++ b/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