CodeQL library for C/C++
Search

Member predicate NewArrayExpr::getAllocatedType

Gets the type that is being allocated.

For example, for new int[5] the result is int[5].

Type getAllocatedType()