[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop58-cpp' to 'bugprone-copy-constructor-mutates-argument' (PR #164566)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 2 14:48:28 PST 2025


================
@@ -199,6 +200,8 @@ class BugproneModule : public ClangTidyModule {
         "bugprone-multiple-new-in-one-expression");
     CheckFactories.registerCheck<MultipleStatementMacroCheck>(
         "bugprone-multiple-statement-macro");
+    CheckFactories.registerCheck<CopyConstructorMutatesArgumentCheck>(
+        "bugprone-copy-constructor-mutates-argument");
----------------
vbvictor wrote:

Seem to be out of order, please fix

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


More information about the cfe-commits mailing list