[clang-tidy] Add missing documents for "IgnoreMacros" option.
authorHaojian Wu <hokein@google.com>
Fri, 4 Aug 2017 11:25:05 +0000 (11:25 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 4 Aug 2017 11:25:05 +0000 (11:25 +0000)
llvm-svn: 310051

clang-tools-extra/docs/clang-tidy/checks/modernize-make-shared.rst
clang-tools-extra/docs/clang-tidy/checks/modernize-use-bool-literals.rst
clang-tools-extra/docs/clang-tidy/checks/modernize-use-using.rst
clang-tools-extra/docs/clang-tidy/checks/readability-redundant-declaration.rst

index cf59d19..e73b320 100644 (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`.
index 7ce048f..792d3a4 100644 (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`.
index 14172bb..1456a91 100644 (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`.
index 4b5d0a5..8ce7aac 100644 (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`.