================
@@ -3101,6 +3101,17 @@ void CXXDestructorDecl::setOperatorDelete(FunctionDecl
*OD, Expr *ThisArg) {
}
}
+void CXXDestructorDecl::setOperatorGlobalDelete(FunctionDecl *OD) {
+ assert(!OD || (OD->getDeclName().getCXXOverloadedOperator() == OO_Delete &&
+
OD->isUsableAsGlobalAllocationFunctionInConstantEvaluation()));
----------------
Fznamznon wrote:
ok, done.
https://github.com/llvm/llvm-project/pull/139566
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits