================ @@ -2855,6 +2855,11 @@ class CXXDestructorDecl : public CXXMethodDecl { return getCanonicalDecl()->OperatorDeleteThisArg; } + /// Will this destructor ever be called when considering which deallocation + /// function is associated with the destructor? Can optionally be passed an + /// 'operator delete' function declaration to test against specifically. + bool isDestructorCalled(const FunctionDecl *OpDel = nullptr) const; ---------------- AaronBallman wrote:
Good call, I've renamed, thanks! https://github.com/llvm/llvm-project/pull/118800 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits