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

Member predicate DeleteOrDeleteArrayExpr::getDeallocatorCall

Gets the call to a non-default operator delete/delete[] that deallocates storage, if any.

This will only be present when the type being deleted has a custom operator delete and does not have a virtual destructor.

FunctionCall getDeallocatorCall()