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

Member predicate ArrayOrVectorAggregateLiteral :: isValueInitialized

Holds if the element elementIndex is value initialized because it is not explicitly initialized by this initializer list.

Value initialization (see [dcl.init]/8) recursively initializes all fields of an object to false, 0, nullptr, or by calling the default constructor, as appropriate to the type.

predicate isValueInitialized ( int elementIndex )