reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaInit.cpp
 4276   if (S.getLangOpts().CPlusPlus && DestType->isScalarType() &&
 4277       !DestType->isAnyComplexType() && InitList->getNumInits() > 1) {
 4281   if (DestType->isReferenceType()) {
 4287   if (DestType->isRecordType() &&
 4288       !S.isCompleteType(InitList->getBeginLoc(), DestType)) {
 4289     Sequence.setIncompleteTypeFailure(DestType);
 4305     if (DestType->isRecordType()) {
 4307       if (S.Context.hasSameUnqualifiedType(InitType, DestType) ||
 4308           S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) {
 4310         TryConstructorInitialization(S, Entity, Kind, InitListAsExpr, DestType,
 4311                                      DestType, Sequence,
 4317     if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) {
 4344   if ((DestType->isRecordType() && !DestType->isAggregateType()) ||
 4344   if ((DestType->isRecordType() && !DestType->isAggregateType()) ||
 4346        S.isStdInitializerList(DestType, nullptr))) {
 4352         CXXRecordDecl *RD = DestType->getAsCXXRecordDecl();
 4361       if (TryInitializerListConstruction(S, InitList, DestType, Sequence,
 4367       TryConstructorInitialization(S, Entity, Kind, InitListAsExpr, DestType,
 4368                                    DestType, Sequence, /*InitListSyntax*/true);
 4374   if (S.getLangOpts().CPlusPlus && !DestType->isAggregateType() &&
 4383     auto *ET = DestType->getAs<EnumType>();
 4387         !S.Context.hasSameUnqualifiedType(E->getType(), DestType) &&
 4411       ICS.Standard.setToType(1, DestType);
 4412       ICS.Standard.setToType(2, DestType);
 4450           DestType, /*VerifyOnly=*/true, TreatUnavailableAsInvalid);
 4457   Sequence.AddListInitializationStep(DestType);