-
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][DOC] Add missing HICPP rule id's (#72553)
Add HICPP rule identities to the documentation for `hicpp-avoid-c-arrays` and `hicpp-no-assembler`. Includes an update of `hicpp-avoid-goto` to look like other aliased checks. References: * avoid-c-arrays Commit: 2634bd5
- Loading branch information
Showing
3 changed files
with
10 additions
and
12 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
10 changes: 5 additions & 5 deletions
10
clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.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,10 @@ | ||
.. title:: clang-tidy - hicpp-no-assembler | ||
|
||
hicpp-no-assembler | ||
=================== | ||
================== | ||
|
||
Check for assembler statements. No fix is offered. | ||
Checks for assembler statements. Use of inline assembly should be avoided since | ||
it restricts the portability of the code. | ||
|
||
Inline assembler is forbidden by the `High Integrity C++ Coding Standard | ||
<https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/declarations>`_ | ||
as it restricts the portability of code. | ||
This enforces `rule 7.5.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/declarations>`_ | ||
of the High Integrity C++ Coding Standard. |