[clang-tidy] Add missing documents for "IgnoreMacros" option.

llvm-svn: 310051
This commit is contained in:
Haojian Wu 2017-08-04 11:25:05 +00:00
parent 115b707584
commit 6a030d1bbf
4 changed files with 29 additions and 0 deletions

View File

@ -43,3 +43,8 @@ Options
A string specifying which include-style is used, `llvm` or `google`. Default
is `llvm`.
.. option:: IgnoreMacros
If set to non-zero, the check will not give warnings inside macros. Default
is `1`.

View File

@ -18,3 +18,11 @@ Finds integer literals which are cast to ``bool``.
bool f = true;
std::ios_base::sync_with_stdio(false);
bool x = p ? true : false;
Options
-------
.. option:: IgnoreMacros
If set to non-zero, the check will not give warnings inside macros. Default
is `1`.

View File

@ -24,3 +24,11 @@ After:
using MyPtrType = void (Class::*)() const;
This check requires using C++11 or higher to run.
Options
-------
.. option:: IgnoreMacros
If set to non-zero, the check will not give warnings inside macros. Default
is `1`.

View File

@ -27,3 +27,11 @@ manually:
* When the declarations are in different header files;
* When multiple variables are declared together.
Options
-------
.. option:: IgnoreMacros
If set to non-zero, the check will not give warnings inside macros. Default
is `1`.