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