[clang] [clang][bytecode] Create a temporary for discarded CXXBindTemporaryExprs (PR #147303)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 8 12:57:18 PDT 2025


================
@@ -3,6 +3,11 @@
 // RUN: %clang_cc1 -std=c++2a -verify=expected,cxx20 %s "-DNEW=::operator new" "-DDELETE=::operator delete"
 // RUN: %clang_cc1 -std=c++2c -verify=expected,cxx26 %s "-DNEW=::operator new" "-DDELETE=::operator delete"
 
+// RUN: %clang_cc1 -std=c++2a -verify=expected,cxx20 %s -DNEW=__builtin_operator_new -DDELETE=__builtin_operator_delete
----------------
tbaederr wrote:

Yes, sorry. Opened https://github.com/llvm/llvm-project/pull/147590.

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


More information about the cfe-commits mailing list