[clang-tools-extra] [clang-tidy] Rename `cert-mem57-cpp` to `bugprone-default-operator-new-on-overaligned-type` (PR #165542)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 1 08:19:47 PDT 2025


================
@@ -0,0 +1,12 @@
+// RUN: %check_clang_tidy %s -std=c++14 bugprone-default-operator-new-on-overaligned-type %t
----------------
vbvictor wrote:

```suggestion
// RUN: %check_clang_tidy %s -std=c++17-or-later bugprone-default-operator-new-on-overaligned-type %t
```

Could we do like this and see how it goes? It's weird that files aimed at c++17 uses c++14 as standard

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


More information about the cfe-commits mailing list