Author: Piotr Zegar Date: 2023-08-30T18:02:34Z New Revision: c6fa07ca966eb8902465adbe2c6c1e41a108881c
URL: https://github.com/llvm/llvm-project/commit/c6fa07ca966eb8902465adbe2c6c1e41a108881c DIFF: https://github.com/llvm/llvm-project/commit/c6fa07ca966eb8902465adbe2c6c1e41a108881c.diff LOG: [clang-tidy][NFC][DOC] Update links to HICPP standard Old links pointed out to old domain, and then redirected to correct one, but to wrong pages. Changed links from old to new domain and page. Fixes: #65064 Added: Modified: clang-tools-extra/clang-tidy/hicpp/LICENSE.TXT clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/exception-baseclass.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/multiway-paths-covered.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/signed-bitwise.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst Removed: ################################################################################ diff --git a/clang-tools-extra/clang-tidy/hicpp/LICENSE.TXT b/clang-tools-extra/clang-tidy/hicpp/LICENSE.TXT index b432d4eae31b27..2f30d1fa08f5eb 100644 --- a/clang-tools-extra/clang-tidy/hicpp/LICENSE.TXT +++ b/clang-tools-extra/clang-tidy/hicpp/LICENSE.TXT @@ -8,5 +8,6 @@ Any file referencing a High-Integrity C++ Coding guideline: HIC++ Coding Standard as created by PRQA. -Please see http://www.codingstandard.com/section/conditions-of-use/ for more -information. +Please see +https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/conditions-of-use +for more information. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst index 3b951e5c23c398..ffef01ca5d4eb1 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/avoid-goto.rst @@ -7,7 +7,7 @@ hicpp-avoid-goto The `hicpp-avoid-goto` check is an alias to :doc:`cppcoreguidelines-avoid-goto <../cppcoreguidelines/avoid-goto>`. -Rule `6.3.1 High Integrity C++ <http://www.codingstandard.com/rule/6-3-1-ensure-that-the-labels-for-a-jump-statement-or-a-switch-condition-appear-later-in-the-same-or-an-enclosing-block/>`_ +Rule `6.3.1 High Integrity C++ <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/statements>`_ requires that ``goto`` only skips parts of a block and is not used for other reasons. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst index 9dd5b82e84c8cc..15a410e0d71cc4 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/braces-around-statements.rst @@ -8,4 +8,4 @@ hicpp-braces-around-statements The `hicpp-braces-around-statements` check is an alias, please see :doc:`readability-braces-around-statements <../readability/braces-around-statements>` for more information. -It enforces the `rule 6.1.1 <http://www.codingstandard.com/rule/6-1-1-enclose-the-body-of-a-selection-or-an-iteration-statement-in-a-compound-statement/>`_. +It enforces the `rule 6.1.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/statements>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst index 8b38ae1c8cfd11..b1446c563863ca 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/deprecated-headers.rst @@ -8,4 +8,4 @@ hicpp-deprecated-headers The `hicpp-deprecated-headers` check is an alias, please see :doc:`modernize-deprecated-headers <../modernize/deprecated-headers>` for more information. -It enforces the `rule 1.3.3 <http://www.codingstandard.com/rule/1-3-3-do-not-use-the-c-standard-library-h-headers/>`_. +It enforces the `rule 1.3.3 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/general>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/exception-baseclass.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/exception-baseclass.rst index 7b5b6cfe694193..9bbc7fc59ed71d 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/exception-baseclass.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/exception-baseclass.rst @@ -6,7 +6,7 @@ hicpp-exception-baseclass Ensure that every value that in a ``throw`` expression is an instance of ``std::exception``. -This enforces `rule 15.1 <http://www.codingstandard.com/section/15-1-throwing-an-exception/>`_ +This enforces `rule 15.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-exception-handling>`_ of the High Integrity C++ Coding Standard. .. code-block:: c++ diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst index 15175c0d7d00fe..d8c69399d6d652 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst @@ -6,7 +6,7 @@ hicpp-explicit-conversions ========================== This check is an alias for :doc:`google-explicit-constructor <../google/explicit-constructor>`. -Used to enforce parts of `rule 5.4.1 <http://www.codingstandard.com/rule/5-4-1-only-use-casting-forms-static_cast-excl-void-dynamic_cast-or-explicit-constructor-call/>`_. +Used to enforce parts of `rule 5.4.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_. This check will enforce that constructors and conversion operators are marked `explicit`. Other forms of casting checks are implemented in other places. The following checks can be used to check for more forms of casting: diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst index a8b70823aba2ef..5ccf670ed55a3f 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/function-size.rst @@ -8,6 +8,6 @@ hicpp-function-size This check is an alias for :doc:`readability-function-size <../readability/function-size>`. Useful to enforce multiple sections on function complexity. -- `rule 8.2.2 <http://www.codingstandard.com/rule/8-2-2-do-not-declare-functions-with-an-excessive-number-of-parameters/>`_ -- `rule 8.3.1 <http://www.codingstandard.com/rule/8-3-1-do-not-write-functions-with-an-excessive-mccabe-cyclomatic-complexity/>`_ -- `rule 8.3.2 <http://www.codingstandard.com/rule/8-3-2-do-not-write-functions-with-a-high-static-program-path-count/>`_ +- `rule 8.2.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/definitions>`_ +- `rule 8.3.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/definitions>`_ +- `rule 8.3.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/definitions>`_ diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst index 299c9332185be0..13184d46380cb2 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/invalid-access-moved.rst @@ -7,4 +7,4 @@ hicpp-invalid-access-moved This check is an alias for :doc:`bugprone-use-after-move <../bugprone/use-after-move>`. -Implements parts of the `rule 8.4.1 <http://www.codingstandard.com/rule/8-4-1-do-not-access-an-invalid-object-or-an-object-with-indeterminate-value/>`_ to check if moved-from objects are accessed. +Implements parts of the `rule 8.4.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/definitions>`_ to check if moved-from objects are accessed. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst index a565d7ddf83cf8..341d8a79931ed3 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/member-init.rst @@ -7,5 +7,5 @@ hicpp-member-init This check is an alias for :doc:`cppcoreguidelines-pro-type-member-init <../cppcoreguidelines/pro-type-member-init>`. Implements the check for -`rule 12.4.2 <http://www.codingstandard.com/rule/12-4-2-ensure-that-a-constructor-initializes-explicitly-all-base-classes-and-non-static-data-members/>`_ +`rule 12.4.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to initialize class members in the right order. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst index ddee4ae48ef818..b43c23344f2e29 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/move-const-arg.rst @@ -7,4 +7,4 @@ hicpp-move-const-arg The `hicpp-move-const-arg` check is an alias, please see :doc:`performance-move-const-arg <../performance/move-const-arg>` for more information. -It enforces the `rule 17.3.1 <http://www.codingstandard.com/rule/17-3-1-do-not-use-stdmove-on-objects-declared-with-const-or-const-type/>`_. +It enforces the `rule 17.3.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/standard-library>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/multiway-paths-covered.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/multiway-paths-covered.rst index 3ff4273ff02698..983de34e367314 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/multiway-paths-covered.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/multiway-paths-covered.rst @@ -5,8 +5,8 @@ hicpp-multiway-paths-covered This check discovers situations where code paths are not fully-covered. It furthermore suggests using ``if`` instead of ``switch`` if the code will be more clear. -The `rule 6.1.2 <http://www.codingstandard.com/rule/6-1-2-explicitly-cover-all-paths-through-multi-way-selection-statements/>`_ -and `rule 6.1.4 <http://www.codingstandard.com/rule/6-1-4-ensure-that-a-switch-statement-has-at-least-two-case-labels-distinct-from-the-default-label/>`_ +The `rule 6.1.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/statements>`_ +and `rule 6.1.4 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/statements>`_ of the High Integrity C++ Coding Standard are enforced. ``if-else if`` chains that miss a final ``else`` branch might lead to unexpected @@ -57,7 +57,7 @@ Similar arguments hold for ``switch`` statements which do not cover all possible } -The `rule 6.1.4 <http://www.codingstandard.com/rule/6-1-4-ensure-that-a-switch-statement-has-at-least-two-case-labels-distinct-from-the-default-label/>`_ +The `rule 6.1.4 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/statements>`_ requires every ``switch`` statement to have at least two ``case`` labels other than a `default` label. Otherwise, the ``switch`` could be better expressed with an ``if`` statement. Degenerated ``switch`` statements without any labels are caught as well. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst index 09d5aa7feddc59..7f894b11b6b60b 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/named-parameter.rst @@ -7,4 +7,4 @@ hicpp-named-parameter This check is an alias for :doc:`readability-named-parameter <../readability/named-parameter>`. -Implements `rule 8.2.1 <http://www.codingstandard.com/rule/8-2-1-make-parameter-names-absent-or-identical-in-all-declarations/>`_. +Implements `rule 8.2.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/definitions>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst index a4c3123306a07f..a7891f943e2c3e 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/new-delete-operators.rst @@ -6,5 +6,5 @@ hicpp-new-delete-operators ========================== This check is an alias for :doc:`misc-new-delete-overloads <../misc/new-delete-overloads>`. -Implements `rule 12.3.1 <http://www.codingstandard.com/section/12-3-free-store/>`_ to ensure +Implements `rule 12.3.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to ensure the `new` and `delete` operators have the correct signature. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst index 5ee65ea6d8acc5..85b93cb99a18d2 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-array-decay.rst @@ -8,4 +8,4 @@ hicpp-no-array-decay The `hicpp-no-array-decay` check is an alias, please see :doc:`cppcoreguidelines-pro-bounds-array-to-pointer-decay <../cppcoreguidelines/pro-bounds-array-to-pointer-decay>` for more information. -It enforces the `rule 4.1.1 <http://www.codingstandard.com/section/4-1-array-to-pointer-conversion/>`_. +It enforces the `rule 4.1.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/standard-conversions>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.rst index 074af8288cb841..381fb365e800ea 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-assembler.rst @@ -6,5 +6,5 @@ hicpp-no-assembler Check for assembler statements. No fix is offered. Inline assembler is forbidden by the `High Integrity C++ Coding Standard -<http://www.codingstandard.com/section/7-5-the-asm-declaration/>`_ +<https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/declarations>`_ as it restricts the portability of code. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst index 0345a58e594d32..d84345e786fc59 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/no-malloc.rst @@ -8,4 +8,4 @@ hicpp-no-malloc The `hicpp-no-malloc` check is an alias, please see :doc:`cppcoreguidelines-no-malloc <../cppcoreguidelines/no-malloc>` for more information. -It enforces the `rule 5.3.2 <http://www.codingstandard.com/rule/5-3-2-allocate-memory-using-new-and-release-it-using-delete/>`_. +It enforces the `rule 5.3.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst index e8584214ea45fd..1f875f410e9ac2 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/noexcept-move.rst @@ -7,4 +7,4 @@ hicpp-noexcept-move This check is an alias for :doc:`performance-noexcept-move-constructor <../performance/noexcept-move-constructor>`. -Checks `rule 12.5.4 <http://www.codingstandard.com/rule/12-5-4-declare-noexcept-the-move-constructor-and-move-assignment-operator>`_ to mark move assignment and move construction `noexcept`. +Checks `rule 12.5.4 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to mark move assignment and move construction `noexcept`. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/signed-bitwise.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/signed-bitwise.rst index cbcdd3d91dc6bd..e290c3c0c2310f 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/signed-bitwise.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/signed-bitwise.rst @@ -6,7 +6,7 @@ hicpp-signed-bitwise Finds uses of bitwise operations on signed integer types, which may lead to undefined or implementation defined behavior. -The according rule is defined in the `High Integrity C++ Standard, Section 5.6.1 <http://www.codingstandard.com/section/5-6-shift-operators/>`_. +The according rule is defined in the `High Integrity C++ Standard, Section 5.6.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_. Options ------- diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst index cfe58bdeb59d03..e0be23c8bffabb 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/special-member-functions.rst @@ -6,4 +6,4 @@ hicpp-special-member-functions ============================== This check is an alias for :doc:`cppcoreguidelines-special-member-functions <../cppcoreguidelines/special-member-functions>`. -Checks that special member functions have the correct signature, according to `rule 12.5.7 <http://www.codingstandard.com/rule/12-5-7-declare-assignment-operators-with-the-ref-qualifier/>`_. +Checks that special member functions have the correct signature, according to `rule 12.5.7 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst index 44928a308940f8..8640e697ce9a22 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/static-assert.rst @@ -7,4 +7,4 @@ hicpp-static-assert The `hicpp-static-assert` check is an alias, please see :doc:`misc-static-assert <../misc/static-assert>` for more information. -It enforces the `rule 7.1.10 <http://www.codingstandard.com/rule/6-1-1-enclose-the-body-of-a-selection-or-an-iteration-statement-in-a-compound-statement/>`_. +It enforces the `rule 7.1.10 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/declarations>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst index 4636e2c5d06a20..f67ca65f5cafa8 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/undelegated-constructor.rst @@ -6,7 +6,7 @@ hicpp-undelegated-constructor ============================= This check is an alias for :doc:`bugprone-undelegated-constructor <../bugprone/undelegated-constructor>`. -Partially implements `rule 12.4.5 <http://www.codingstandard.com/rule/12-4-5-use-delegating-constructors-to-reduce-code-duplication/>`_ +Partially implements `rule 12.4.5 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to find misplaced constructor calls inside a constructor. .. code-block:: c++ diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst index 29ee07dfb9ae98..994363accc8c68 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/uppercase-literal-suffix.rst @@ -7,3 +7,6 @@ hicpp-uppercase-literal-suffix The hicpp-uppercase-literal-suffix check is an alias, please see :doc:`readability-uppercase-literal-suffix <../readability/uppercase-literal-suffix>` for more information. + +Partially implements `rule 4.2.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/standard-conversions>`_ +to ensure that the ``U`` suffix is writeln properly. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst index ec835785d4fb80..c5d0e7c05bea19 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-auto.rst @@ -7,4 +7,4 @@ hicpp-use-auto The `hicpp-use-auto` check is an alias, please see :doc:`modernize-use-auto <../modernize/use-auto>` for more information. -It enforces the `rule 7.1.8 <http://www.codingstandard.com/rule/7-1-8-use-auto-id-expr-when-declaring-a-variable-to-have-the-same-type-as-its-initializer-function-call/>`_. +It enforces the `rule 7.1.8 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/declarations>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst index 3c2d057f8dfc07..cdc59e96b8f565 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-emplace.rst @@ -7,4 +7,4 @@ hicpp-use-emplace The `hicpp-use-emplace` check is an alias, please see :doc:`modernize-use-emplace <../modernize/use-emplace>` for more information. -It enforces the `rule 17.4.2 <http://www.codingstandard.com/rule/17-4-2-use-api-calls-that-construct-objects-in-place/>`_. +It enforces the `rule 17.4.2 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/standard-library>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst index e6b6d5354c9a8a..f891e820cbf02b 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-default.rst @@ -6,4 +6,4 @@ hicpp-use-equals-default ======================== This check is an alias for :doc:`modernize-use-equals-default <../modernize/use-equals-default>`. -Implements `rule 12.5.1 <http://www.codingstandard.com/rule/12-5-1-define-explicitly-default-or-delete-implicit-special-member-functions-of-concrete-classes/>`_ to explicitly default special member functions. +Implements `rule 12.5.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to explicitly default special member functions. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst index 000e233b66a38c..f4bba24e34e5a3 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-equals-delete.rst @@ -6,5 +6,5 @@ hicpp-use-equals-delete ======================= This check is an alias for :doc:`modernize-use-equals-delete <../modernize/use-equals-delete>`. -Implements `rule 12.5.1 <http://www.codingstandard.com/rule/12-5-1-define-explicitly-default-or-delete-implicit-special-member-functions-of-concrete-classes/>`_ +Implements `rule 12.5.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/special-member-functions>`_ to explicitly default or delete special member functions. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst index e429625ca9f360..3ee4a33f1f45e8 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-noexcept.rst @@ -7,4 +7,4 @@ hicpp-use-noexcept The `hicpp-use-noexcept` check is an alias, please see :doc:`modernize-use-noexcept <../modernize/use-noexcept>` for more information. -It enforces the `rule 1.3.5 <http://www.codingstandard.com/rule/1-3-5-do-not-use-throw-exception-specifications/>`_. +It enforces the `rule 1.3.5 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/general>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst index c16ae4ec046574..4bcc71898c1c3a 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-nullptr.rst @@ -7,4 +7,4 @@ hicpp-use-nullptr The `hicpp-use-nullptr` check is an alias, please see :doc:`modernize-use-nullptr <../modernize/use-nullptr>` for more information. -It enforces the `rule 2.5.3 <http://www.codingstandard.com/rule/2-5-3-use-nullptr-for-the-null-pointer-constant/>`_. +It enforces the `rule 2.5.3 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/lexical-conventions>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst index 2f6b543def2c8f..aa09d0ef49fa55 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/use-override.rst @@ -6,5 +6,5 @@ hicpp-use-override ================== This check is an alias for :doc:`modernize-use-override <../modernize/use-override>`. -Implements `rule 10.2.1 <http://www.codingstandard.com/section/10-2-virtual-functions/>`_ to +Implements `rule 10.2.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/derived-classes>`_ to declare a virtual function `override` when overriding. diff --git a/clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst b/clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst index 1e5081fbda773a..2d91c4cd6e37bc 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/hicpp/vararg.rst @@ -8,4 +8,4 @@ hicpp-vararg The `hicpp-vararg` check is an alias, please see :doc:`cppcoreguidelines-pro-type-vararg <../cppcoreguidelines/pro-type-vararg>` for more information. -It enforces the `rule 14.1.1 <http://www.codingstandard.com/section/14-1-template-declarations/>`_. +It enforces the `rule 14.1.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard/templates>`_. diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst b/clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst index 4b3d7190d43458..0b2d819264daa1 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/readability/magic-numbers.rst @@ -10,7 +10,7 @@ Many coding guidelines advise replacing the magic values with symbolic constants to improve readability. Here are a few references: * `Rule ES.45: Avoid "magic constants"; use symbolic constants in C++ Core Guidelines <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-magic>`_ - * `Rule 5.1.1 Use symbolic names instead of literal values in code in High Integrity C++ <http://www.codingstandard.com/rule/5-1-1-use-symbolic-names-instead-of-literal-values-in-code/>`_ + * `Rule 5.1.1 Use symbolic names instead of literal values in code in High Integrity C++ <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_ * Item 17 in "C++ Coding Standards: 101 Rules, Guidelines and Best Practices" by Herb Sutter and Andrei Alexandrescu * Chapter 17 in "Clean Code - A handbook of agile software craftsmanship." _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits