CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (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()