forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang-tidy][DOC] Update doc for Clang Static Analyzer checks
Fix gen-static-analyzer-docs.py script. Commit doc for: - clang-analyzer-cplusplus.ArrayDelete - clang-analyzer-security.SetgidSetuidOrder - clang-analyzer-unix.Stream
- Loading branch information
Showing
5 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.ArrayDelete.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,14 @@ | ||
.. title:: clang-tidy - clang-analyzer-cplusplus.ArrayDelete | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-arraydelete | ||
|
||
clang-analyzer-cplusplus.ArrayDelete | ||
==================================== | ||
|
||
Reports destructions of arrays of polymorphic objects that are destructed as | ||
their base class. | ||
|
||
The `clang-analyzer-cplusplus.ArrayDelete` check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-arraydelete>`_ | ||
for more information. |
10 changes: 10 additions & 0 deletions
10
...ools-extra/docs/clang-tidy/checks/clang-analyzer/security.SetgidSetuidOrder.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-security.SetgidSetuidOrder | ||
|
||
clang-analyzer-security.SetgidSetuidOrder | ||
========================================= | ||
|
||
Warn on possible reversed order of 'setgid(getgid()))' and 'setuid(getuid())' | ||
(CERT: POS36-C). | ||
|
||
The clang-analyzer-security.SetgidSetuidOrder check is an alias of | ||
Clang Static Analyzer security.SetgidSetuidOrder. |
13 changes: 13 additions & 0 deletions
13
clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/unix.Stream.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-unix.Stream | ||
.. meta:: | ||
:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#unix-stream | ||
|
||
clang-analyzer-unix.Stream | ||
========================== | ||
|
||
Check stream handling functions. | ||
|
||
The `clang-analyzer-unix.Stream` check is an alias, please see | ||
`Clang Static Analyzer Available Checkers | ||
<https://clang.llvm.org/docs/analyzer/checkers.html#unix-stream>`_ | ||
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