[clang-tools-extra] [clang-tidy] Move 'cert-msc51-cpp', 'cert-msc32-c' checks outside of … (PR #167143)

via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 8 06:47:35 PST 2025


================
@@ -458,7 +458,7 @@ Check aliases
    :doc:`cert-mem57-cpp <cert/mem57-cpp>`, :doc:`bugprone-default-operator-new-on-overaligned-type <bugprone/default-operator-new-on-overaligned-type>`,
    :doc:`cert-msc24-c <cert/msc24-c>`, :doc:`bugprone-unsafe-functions <bugprone/unsafe-functions>`,
    :doc:`cert-msc30-c <cert/msc30-c>`, :doc:`cert-msc50-cpp <cert/msc50-cpp>`,
-   :doc:`cert-msc32-c <cert/msc32-c>`, :doc:`cert-msc51-cpp <cert/msc51-cpp>`,
+   :doc:`cert-msc32-c <cert/msc32-c>`, :doc:`bugprone-random-generator-seed <bugprone/random-generator-seed>`,
----------------
zeyi2 wrote:

You should add alias for `cert/msc51-cpp` too. We don't want to break existing checks :)

You also need to document your changes in [ReleaseNotes.rst](https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/docs/ReleaseNotes.rst?plain=1), this should be placed under `New check aliases` section. Please remember to maintain alphabetical order.

https://github.com/llvm/llvm-project/pull/167143


More information about the cfe-commits mailing list