CodeQL library for C/C++
Search

Member predicate DeleteArrayExpr::getDestructorCall

Gets the call to a destructor that occurs prior to the array’s memory being deallocated, if any.

At runtime, the destructor will be called once for each element in the array, but the destructor call only exists once in the AST.

DestructorCall getDestructorCall()