CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Member predicate ArrayType::getArraySize

Gets the number of elements in this array. Only has a result for arrays declared to be of a constant size. See getByteSize for getting the number of bytes.

int getArraySize()