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