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