================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to