================
@@ -3146,7 +3198,8 @@ bool CXXDestructorDecl::isCalledByDelete(const
FunctionDecl *OpDel) const {
// delete operator, as that destructor is never called, unless the
// destructor is virtual (see [expr.delete]p8.1) because then the
// selected operator depends on the dynamic type of the pointer.
- const FunctionDecl *SelectedOperatorDelete = OpDel ? OpDel : OperatorDelete;
+ const FunctionDecl *SelectedOperatorDelete =
+ OpDel ? OpDel : getOperatorDelete();
----------------
Fznamznon wrote:
That is not a pure formatting change, it changes direct access of
`OperatorDelete` field to `getOperatorDelete()` member call because there is no
field anymore.
https://github.com/llvm/llvm-project/pull/165598
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits