forked from OSchip/llvm-project
[clang-tidy] Add missing documents for "IgnoreMacros" option.
llvm-svn: 310051
This commit is contained in:
parent
115b707584
commit
6a030d1bbf
|
@ -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`.
|
||||
|
|
|
@ -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`.
|
||||
|
|
|
@ -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`.
|
||||
|
|
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue