CodeQL library for C/C++
codeql/cpp-all 2.0.2 (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)