clang
7.0.0
|
A single step in the initialization sequence. More...
#include "clang/Sema/Initialization.h"
Classes | |
struct | F |
Public Member Functions | |
void | Destroy () |
Public Attributes | |
StepKind | Kind |
The kind of conversion or initialization step we are taking. More... | |
QualType | Type |
union { | |
struct F Function | |
When Kind == SK_ResolvedOverloadedFunction or Kind == SK_UserConversion, the function that the expression should be resolved to or the conversion function to call, respectively. More... | |
ImplicitConversionSequence * ICS | |
When Kind = SK_ConversionSequence, the implicit conversion sequence. More... | |
InitListExpr * WrappingSyntacticList | |
When Kind = SK_RewrapInitList, the syntactic form of the wrapping list. More... | |
}; | |
A single step in the initialization sequence.
Definition at line 903 of file Initialization.h.
void InitializationSequence::Step::Destroy | ( | ) |
Definition at line 3139 of file SemaInit.cpp.
union { ... } |
struct F clang::InitializationSequence::Step::Function |
When Kind == SK_ResolvedOverloadedFunction or Kind == SK_UserConversion, the function that the expression should be resolved to or the conversion function to call, respectively.
When Kind == SK_ConstructorInitialization or SK_ListConstruction, the constructor to be called.
Always a FunctionDecl, plus a Boolean flag telling if it was selected from an overloaded set having size greater than 1. For conversion decls, the naming class is the source type. For construct decls, the naming class is the target type.
Definition at line 928 of file Initialization.h.
Referenced by clang::InitializationSequence::Perform(), and PerformConstructorInitialization().
ImplicitConversionSequence* clang::InitializationSequence::Step::ICS |
When Kind = SK_ConversionSequence, the implicit conversion sequence.
Definition at line 932 of file Initialization.h.
Referenced by clang::InitializationSequence::Perform().
StepKind clang::InitializationSequence::Step::Kind |
The kind of conversion or initialization step we are taking.
Definition at line 906 of file Initialization.h.
Referenced by clang::InitializationSequence::AddPassByIndirectCopyRestoreStep(), and clang::InitializationSequence::Perform().
QualType clang::InitializationSequence::Step::Type |
Definition at line 909 of file Initialization.h.
Referenced by clang::InitializationSequence::AddPassByIndirectCopyRestoreStep(), clang::InitializationSequence::Perform(), and PerformConstructorInitialization().
InitListExpr* clang::InitializationSequence::Step::WrappingSyntacticList |
When Kind = SK_RewrapInitList, the syntactic form of the wrapping list.
Definition at line 936 of file Initialization.h.