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

Class FieldContent

A Content that references a Field. This may be a field of a struct, class, or union. In the case of a union there may be multiple fields associated with the same Content.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAField

Gets a Field of this Content.

getField

Gets the field associated with this Content, if a unique one exists.

getIndirectionIndex

Gets the indirection index of this Content.

impliesClearOf

INTERNAL: Do not use.

toString

Gets a textual representation of this element.

Inherited predicates