[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:53:45 PDT 2025
================
@@ -0,0 +1,12 @@
+// RUN: %check_clang_tidy %s -std=c++14 bugprone-default-operator-new-on-overaligned-type %t
----------------
vbvictor wrote:
It can be that this check is just bugged in standards higher than c++17. It's unfortunately common practice for `cert` checks. It's good to know how it fails, though.
My suggestion is to move this code to regular c++14 file and leave a "TODO" to work in higher standards.
https://github.com/llvm/llvm-project/pull/165542
More information about the cfe-commits
mailing list