Skip to content

Commit 6d37259

Browse files
authored
[clang-tidy][NFC] remove autosar link in documents (#107412)
As discussion in https://discourse.llvm.org/t/clang-tidy-rfc-add-autosar-c-14-clang-tidy-module/59223/12. We should not link clang-tidy check with AUTOSAR rules.
1 parent 169d453 commit 6d37259

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ This check implements detection of local variables which could be declared as
77
``const`` but are not. Declaring variables as ``const`` is required or recommended by many
88
coding guidelines, such as:
99
`ES.25 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es25-declare-an-object-const-or-constexpr-unless-you-want-to-modify-its-value-later-on>`_
10-
from the C++ Core Guidelines and `AUTOSAR C++14 Rule A7-1-1 (6.7.1 Specifiers)
11-
<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.
10+
from the C++ Core Guidelines.
1211

1312
Please note that this check's analysis is type-based only. Variables that are not modified
1413
but used to create a non-const handle that might escape the scope are not diagnosed

clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ types and definitions with good return type but wrong ``return`` statements.
1313
type (e.g. ``int``).
1414
* Private and deleted operators are ignored.
1515
* The operator must always return ``*this``.
16-
17-
This check implements `AUTOSAR C++14 Rule A13-2-1
18-
<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.

clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@ Examples:
1616
int NestInConditional = (condition1 ? true1 : false1) ? true2 : false2;
1717
int NestInTrue = condition1 ? (condition2 ? true1 : false1) : false2;
1818
int NestInFalse = condition1 ? true1 : condition2 ? true2 : false1;
19-
20-
This check implements part of `AUTOSAR C++14 Rule A5-16-1
21-
<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.

0 commit comments

Comments
 (0)