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

2025-11-02 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 01/10] Move check cert-oop

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

2025-11-02 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/9] Move check cert-oop58

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-11-02 Thread Dasha Buka via cfe-commits
dvbuka wrote: Done https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-11-02 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/9] Move check cert-oop58

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

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/8] Move check cert-oop58

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

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/7] Move check cert-oop58

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka reopened https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 6f679f0f80efafba84a8cf73a651b603b1559707 Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Mon, 27 Oct 2025 15:23:52 -0700 Subject: [PATCH] Update cert-oop57-cpp to

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/21] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
dvbuka wrote: Looks like I butchered the rebase. Will comment when it is fixed. https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/6] Move check cert-oop58

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/23] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

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

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka edited https://github.com/llvm/llvm-project/pull/164566 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-27 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/21] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

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

2025-10-25 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/5] Move check cert-oop58

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

2025-10-25 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/164566 >From 4640cf73b874a90acd4799b6a710d6139fcd08cb Mon Sep 17 00:00:00 2001 From: Dasha Buka <[email protected]> Date: Wed, 22 Oct 2025 00:17:46 -0700 Subject: [PATCH 1/4] Move check cert-oop58

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/20] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/19] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/18] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka edited https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
@@ -0,0 +1,40 @@ +.. title:: clang-tidy - bugprone-raw-memory-call-on-non-trivial-type + +bugprone-raw-memory-call-on-non-trivial-type + + + Flags use of the C standard library functions ``memset``, ``memcpy`` and + ``memcmp`` and simi

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-22 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/17] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-21 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/15] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-raw-memory-call-on-non-trivial-type' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka edited https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/14] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/13] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/12] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/11] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-20 Thread Dasha Buka via cfe-commits
dvbuka wrote: The only other use of "non-trivial" in clang-tools-extra uses NonTrivial and non-trivial-*, should I just use that convention instead? https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits ma

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 01/10] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-ty

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
dvbuka wrote: Renamed to `bugprone-raw-memory-call-on-nontrivial-type`. https://github.com/llvm/llvm-project/pull/162039 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
@@ -440,8 +440,8 @@ Check aliases :doc:`cert-dcl51-cpp `, :doc:`bugprone-reserved-identifier `, "Yes" :doc:`cert-dcl54-cpp `, :doc:`misc-new-delete-overloads `, :doc:`cert-dcl59-cpp `, :doc:`google-build-namespaces `, - :doc:`cert-err09-cpp `, :doc:`misc-throw-by

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/9] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/8] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/7] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/6] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/5] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-19 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka updated https://github.com/llvm/llvm-project/pull/162039 >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 From: Dasha Buka Date: Sun, 5 Oct 2025 15:44:45 -0700 Subject: [PATCH 1/4] [clang-tidy] Add new alias 'libc-memory-calls-on-nontrivial-type

[clang-tools-extra] [clang-tidy] Rename and move 'cert-oop57-cpp' to 'bugprone-libc-memory-calls-on-nontrivial-types' (PR #162039)

2025-10-05 Thread Dasha Buka via cfe-commits
https://github.com/dvbuka created https://github.com/llvm/llvm-project/pull/162039 closes #157294 Renamed NonTrivialTypesLibcMemoryCallsCheck to LibcMemoryCallsOnNonTrivialTypesCheck for a little more clarity as well. >From 236cee683ac84ebd7ac6cd41f0d78020c312f68c Mon Sep 17 00:00:00 2001 Fr