CodeQL library for C/C++
codeql/cpp-all 0.6.0 ( changelog , source )

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 ( )