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

Class UnionContent

A reference through an instance field of a union.

Import path

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

Direct supertypes

Indirect supertypes

Fields

Predicates

getAField

Gets a field of the underlying union of this UnionContent, if any.

getIndirectionIndex

Gets the indirection index of this UnionContent.

getUnion

Gets the underlying union of this UnionContent.

toString

Gets a textual representation of this element.

Inherited predicates

Charpred