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