Author: Congcong Cai
Date: 2024-09-06T07:03:05+08:00
New Revision: 6d3725924fe6adf0d490697327938de9c3516cbe

URL: 
https://github.com/llvm/llvm-project/commit/6d3725924fe6adf0d490697327938de9c3516cbe
DIFF: 
https://github.com/llvm/llvm-project/commit/6d3725924fe6adf0d490697327938de9c3516cbe.diff

LOG: [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.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst
    
clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst
    
clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst 
b/clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst
index 86fba6c7e4f7cf..8ac1ad56bc8cf7 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst
@@ -7,8 +7,7 @@ This check implements detection of local variables which could 
be declared as
 ``const`` but are not. Declaring variables as ``const`` is required or 
recommended by many
 coding guidelines, such as:
 `ES.25 
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es25-declare-an-object-const-or-constexpr-unless-you-want-to-modify-its-value-later-on>`_
-from the C++ Core Guidelines and `AUTOSAR C++14 Rule A7-1-1 (6.7.1 Specifiers)
-<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.
+from the C++ Core Guidelines.
 
 Please note that this check's analysis is type-based only. Variables that are 
not modified
 but used to create a non-const handle that might escape the scope are not 
diagnosed

diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst
 
b/clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst
index 3b4b65a5cb6838..49e3fd5b6ee428 100644
--- 
a/clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst
+++ 
b/clang-tools-extra/docs/clang-tidy/checks/misc/unconventional-assign-operator.rst
@@ -13,6 +13,3 @@ types and definitions with good return type but wrong 
``return`` statements.
     type (e.g. ``int``).
   * Private and deleted operators are ignored.
   * The operator must always return ``*this``.
-
-This check implements `AUTOSAR C++14 Rule A13-2-1
-<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.

diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst
 
b/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst
index 44b74283292ce0..cd3906855d4976 100644
--- 
a/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst
+++ 
b/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-nested-conditional-operator.rst
@@ -16,6 +16,3 @@ Examples:
   int NestInConditional = (condition1 ? true1 : false1) ? true2 : false2;
   int NestInTrue = condition1 ? (condition2 ? true1 : false1) : false2;
   int NestInFalse = condition1 ? true1 : condition2 ? true2 : false1;
-
-This check implements part of `AUTOSAR C++14 Rule A5-16-1
-<https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf>`_.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to