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