================ @@ -7546,6 +7546,15 @@ void testRecursiveAssign() { f->mu.Unlock(); } +// A strange pattern that no sane person should write... +void testStrangePattern(Mutex *&out, int &x) { ---------------- melver wrote:
Good point - I've dropped the translateCXXNewExpr() patch for now. https://github.com/llvm/llvm-project/pull/142955 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits