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

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.

impliesClearOf

INTERNAL: Do not use.

toString

Gets a textual representation of this element.

Inherited predicates

Charpred