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

Member predicate NewExpr::getAllocatedType

Gets the type that is being allocated.

For example, for new int the result is int.

Type getAllocatedType()