CodeQL library for C/C++
Search

Member predicate NewExpr::getAllocatedType

Gets the type that is being allocated.

For example, for new int the result is int.

Type getAllocatedType()