diff options
author | Haojian Wu <hokein@google.com> | 2017-08-04 11:25:05 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2017-08-04 11:25:05 +0000 |
commit | 6a030d1bbf8aecd78bd622624fbd15a1760e2dcf (patch) | |
tree | 39b852a84d0197de348e6659d6f452d880d1df1d | |
parent | 115b707584ef942d7c52fd6226d140619e03fdd8 (diff) | |
download | bcm5719-llvm-6a030d1bbf8aecd78bd622624fbd15a1760e2dcf.tar.gz bcm5719-llvm-6a030d1bbf8aecd78bd622624fbd15a1760e2dcf.zip |
[clang-tidy] Add missing documents for "IgnoreMacros" option.
llvm-svn: 310051
4 files changed, 29 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-make-shared.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-make-shared.rst index cf59d195488..e73b32034f3 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize-make-shared.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-make-shared.rst @@ -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`. diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-bool-literals.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-bool-literals.rst index 7ce048f6af5..792d3a4c3dc 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-bool-literals.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-bool-literals.rst @@ -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`. diff --git a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst index 14172bbf386..1456a91f373 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst @@ -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`. diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-redundant-declaration.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-redundant-declaration.rst index 4b5d0a5d6e0..8ce7aacce69 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/readability-redundant-declaration.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/readability-redundant-declaration.rst @@ -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`. |