-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang-tidy][NFC] Update documentation for Clang Static Analyzer aliases
Update documentation by using gen-static-analyzer-docs.py. All Clang Static Analyzer checks are now listed as aliases. Check without documentation wont have a link. Fixes: #41439
- Loading branch information
Showing
94 changed files
with
527 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
...ols-extra/docs/clang-tidy/checks/clang-analyzer/core.DynamicTypePropagation.rst
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
...s/clang-tidy/checks/clang-analyzer/core.uninitialized.CapturedBlockVariable.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
.. title:: clang-tidy - clang-analyzer-core.uninitialized.CapturedBlockVariable | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-capturedblockvariable | ||
|
||
clang-analyzer-core.uninitialized.CapturedBlockVariable | ||
======================================================= | ||
|
||
Check for blocks that capture uninitialized values | ||
Check for blocks that capture uninitialized values. | ||
|
||
The clang-analyzer-core.uninitialized.CapturedBlockVariable check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-capturedblockvariable>`_ | ||
for more information. |
13 changes: 13 additions & 0 deletions
13
...extra/docs/clang-tidy/checks/clang-analyzer/core.uninitialized.NewArraySize.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. title:: clang-tidy - clang-analyzer-core.uninitialized.NewArraySize | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-newarraysize | ||
|
||
clang-analyzer-core.uninitialized.NewArraySize | ||
============================================== | ||
|
||
Check if the size of the array in a new[] expression is undefined. | ||
|
||
The clang-analyzer-core.uninitialized.NewArraySize check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-newarraysize>`_ | ||
for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.InnerPointer.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.InnerPointer | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-innerpointer | ||
|
||
clang-analyzer-cplusplus.InnerPointer | ||
===================================== | ||
|
||
Check for inner pointers of C++ containers used after re/deallocation | ||
Check for inner pointers of C++ containers used after re/deallocation. | ||
|
||
The clang-analyzer-cplusplus.InnerPointer check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-innerpointer>`_ | ||
for more information. |
9 changes: 4 additions & 5 deletions
9
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.Move.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.Move | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-move | ||
|
||
clang-analyzer-cplusplus.Move | ||
============================= | ||
|
||
The clang-analyzer-cplusplus.Move check is an alias, please see | ||
`Clang Static Analyzer Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-move>`_ | ||
for more information. | ||
Find use-after-move bugs in C++. | ||
|
||
The clang-analyzer-cplusplus.Move check is an alias of | ||
Clang Static Analyzer cplusplus.Move. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.PlacementNew | ||
|
||
clang-analyzer-cplusplus.PlacementNew | ||
===================================== | ||
|
||
Check if default placement new is provided with pointers to sufficient storage | ||
capacity. | ||
|
||
The clang-analyzer-cplusplus.PlacementNew check is an alias of | ||
Clang Static Analyzer cplusplus.PlacementNew. |
9 changes: 9 additions & 0 deletions
9
...tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PureVirtualCall.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.PureVirtualCall | ||
|
||
clang-analyzer-cplusplus.PureVirtualCall | ||
======================================== | ||
|
||
Check pure virtual function calls during construction/destruction. | ||
|
||
The clang-analyzer-cplusplus.PureVirtualCall check is an alias of | ||
Clang Static Analyzer cplusplus.PureVirtualCall. |
13 changes: 13 additions & 0 deletions
13
...g-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.StringChecker.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.StringChecker | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-stringchecker | ||
|
||
clang-analyzer-cplusplus.StringChecker | ||
====================================== | ||
|
||
Checks C++ std::string bugs. | ||
|
||
The clang-analyzer-cplusplus.StringChecker check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-stringchecker>`_ | ||
for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/fuchsia.HandleChecker.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. title:: clang-tidy - clang-analyzer-fuchsia.HandleChecker | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#fuchsia-handlechecker | ||
|
||
clang-analyzer-fuchsia.HandleChecker | ||
==================================== | ||
|
||
A Checker that detect leaks related to Fuchsia handles. | ||
|
||
The clang-analyzer-fuchsia.HandleChecker check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#fuchsia-handlechecker>`_ | ||
for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...cs/clang-tidy/checks/clang-analyzer/nullability.NullableReturnedFromNonnull.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
.. title:: clang-tidy - clang-analyzer-nullability.NullableReturnedFromNonnull | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullablereturnedfromnonnull | ||
|
||
clang-analyzer-nullability.NullableReturnedFromNonnull | ||
====================================================== | ||
|
||
Warns when a nullable pointer is returned from a function that has _Nonnull return type. | ||
Warns when a nullable pointer is returned from a function that has _Nonnull | ||
return type. | ||
|
||
The clang-analyzer-nullability.NullableReturnedFromNonnull check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullablereturnedfromnonnull>`_ | ||
for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.