================ @@ -67,19 +67,6 @@ void testGlobalNoThrowPlacementExprNewBeforeOverload() { int *p = new(std::nothrow) int; } // leak-warning{{Potential leak of memory pointed to by 'p'}} -//----- Standard pointer placement operators -void testGlobalPointerPlacementNew() { ---------------- NagyDonat wrote:
Could you briefly explain why do you delete this testcase? (I'm just curious -- I don't see an obvious reason, but I didn't dig into the handling of placement operators, so I presume that this is justified.) https://github.com/llvm/llvm-project/pull/106081 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits