Skip to content

Commit a8322e7

Browse files
committed
add readability fixes
1 parent 3f2086a commit a8322e7

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

clang-tools-extra/docs/clang-tidy/checks/readability/container-data-pointer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Options
1818
.. option:: IgnoredContainers
1919

2020
Semicolon-separated list of containers regexp for which this check won't be
21-
enforced. Default is `empty`.
21+
enforced. Default is an empty string.

clang-tools-extra/docs/clang-tidy/checks/readability/container-size-empty.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ The check issues warning if a container has ``empty()`` and ``size()`` or
2525

2626
`size_type` can be any kind of integer type.
2727

28+
Options
29+
-------
30+
2831
.. option:: ExcludedComparisonTypes
2932

3033
A semicolon-separated list of class names for which the check will ignore

clang-tools-extra/docs/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ In the case of multiple redeclarations or function template specializations,
5252
a warning is issued for every redeclaration or specialization inconsistent with
5353
the definition or the first declaration seen in a translation unit.
5454

55+
Options
56+
-------
57+
5558
.. option:: IgnoreMacros
5659

5760
If this option is set to `true` (default is `true`), the check will not warn

clang-tools-extra/docs/clang-tidy/checks/readability/redundant-inline-specifier.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Options
2929
.. option:: StrictMode
3030

3131
If set to `true`, the check will also flag functions and variables that
32-
already have internal linkage as redundant.
32+
already have internal linkage as redundant. Default is `false`.

clang-tools-extra/docs/clang-tidy/checks/readability/redundant-smartptr-get.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Examples:
1414
*ptr->get() ==> **ptr
1515
if (ptr.get() == nullptr) ... => if (ptr == nullptr) ...
1616
17+
Options
18+
-------
1719

1820
.. option:: IgnoreMacros
1921

0 commit comments

Comments
 (0)