[clang] [alpha.webkit.NoDeleteChecker] Allow no-delete default constructors (PR #201544)
Ryosuke Niwa via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 4 04:02:33 PDT 2026
================
@@ -669,8 +670,11 @@ class TrivialFunctionAnalysisVisitor
}
}
const Stmt *Body = D->getBody();
- if (!Body)
+ if (!Body) {
+ if (FnDecl && FnDecl->isThisDeclarationADefinition())
----------------
rniwa wrote:
Hm... I guess this isn't quite right per our discussion in slack.
https://github.com/llvm/llvm-project/pull/201544
More information about the cfe-commits
mailing list