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

Member predicate HeuristicAllocationExpr::requiresDealloc

Whether or not this allocation requires a corresponding deallocation of some sort (most do, but alloca for example does not). If it is unclear, we default to no (for example a placement new allocation may or may not require a corresponding delete).

predicate requiresDealloc()