Module TranslatedInitialization

Import path

semmle.code.cpp.ir.implementation.raw.internal.TranslatedInitialization

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Predicates

getTranslatedConstructorBaseInit
getTranslatedConstructorFieldInitialization
getTranslatedDestructorBaseDestruction
getTranslatedFieldInitialization

Gets the TranslatedFieldInitialization for field field within initializer list initList.

getTranslatedInitialization

Gets the TranslatedInitialization for the expression expr.

Classes

InitializationContext

Base class for any TranslatedElement that has an initialization as a child. Provides the child with the address and type of the location to be initialized.

TranslatedArrayListInitialization

Represents the IR translation of an initialization of an array from an initializer list.

TranslatedBaseStructorCall

Represents the IR translation of a call to a base class constructor or destructor from within a derived class constructor or destructor.

TranslatedClassListInitialization

Represents the IR translation of an initialization of a class object from an initializer list.

TranslatedConstructorBaseInit

Represents the IR translation of a call to a base class constructor from within a derived class constructor

TranslatedConstructorCallFromConstructor

Represents a call to a delegating or base class constructor from within a constructor.

TranslatedConstructorDelegationInit

Represents the IR translation of a delegating constructor call from within a constructor.

TranslatedConstructorInitialization
TranslatedDestructorBaseDestruction

Represents the IR translation of a call to a base class destructor from within a derived class destructor.

TranslatedDirectInitialization

Represents the IR translation of an initialization from a single initializer expression.

TranslatedElementInitialization

Represents the IR translation of the initialization of an array element from an element of an initializer list.

TranslatedElementValueInitialization

Represents the IR translation of the initialization of a range of array elements without corresponding elements in the initializer list.

TranslatedExplicitElementInitialization

Represents the IR translation of the initialization of an array element from an explicit element in an initializer list.

TranslatedExplicitFieldInitialization

Represents the IR translation of the initialization of a field from an explicit element in an initializer list.

TranslatedFieldInitialization

Represents the IR translation of the initialization of a field from an element of an initializer list.

TranslatedFieldValueInitialization

Represents the IR translation of the initialization of a field without a corresponding element in the initializer list.

TranslatedInitialization

Represents the IR translation of any initialization, whether from an initializer list or from a direct initializer.

TranslatedListInitialization

Represents the IR translation of an initialization from an initializer list.

TranslatedSimpleDirectInitialization

Represents the IR translation of an initialization from a single initializer expression, where the initialization is performed via bitwise copy (as opposed to a constructor).

TranslatedStringLiteralInitialization

Represents the IR translation of an initialization of an array from a string literal.

TranslatedStructorCallFromStructor