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

Member predicate Field::getAByteOffsetIn

Gets the byte offset within mostDerivedClass of each occurrence of this field within mostDerivedClass itself or a base class subobject of mostDerivedClass. Note that for fields of virtual base classes, and non-virtual base classes thereof, this predicate assumes that mostDerivedClass is the type of the complete most-derived object.

int getAByteOffsetIn(Class mostDerivedClass)