[clang] [RFC] Initial implementation of P2719 (PR #113510)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 25 13:39:23 PDT 2025


================
@@ -16223,6 +16324,70 @@ bool Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor,
   return Invalid;
 }
 
+bool Sema::isTypeAwareOperatorNewOrDelete(const NamedDecl *ND) const {
+  const FunctionDecl *FnDecl = nullptr;
----------------
cor3ntin wrote:

I don't think so; bits are precious, there aren't that many operators new in a program

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


More information about the cfe-commits mailing list