[clang] [win][clang] Align scalar deleting destructors with MSABI (PR #139566)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 10 08:44:03 PDT 2025
================
@@ -8546,10 +8546,12 @@ class Sema final : public SemaBase {
bool Diagnose = true);
FunctionDecl *FindUsualDeallocationFunction(SourceLocation StartLoc,
ImplicitDeallocationParameters,
- DeclarationName Name);
- FunctionDecl *FindDeallocationFunctionForDestructor(SourceLocation StartLoc,
- CXXRecordDecl *RD,
- bool Diagnose = true);
+ DeclarationName Name,
+ bool Diagnose = true);
+ FunctionDecl *
+ FindDeallocationFunctionForDestructor(SourceLocation StartLoc,
+ CXXRecordDecl *RD, bool Diagnose = true,
+ bool LookForGlobal = false);
----------------
Fznamznon wrote:
It seems they don't, there are only 2 callsites of the function so I changed these to be not defailted.
https://github.com/llvm/llvm-project/pull/139566
More information about the cfe-commits
mailing list