Home | History | Annotate | Download | only in Sema

Lines Matching refs:DestType

3325                                            QualType DestType,
3328 if (!S.isStdInitializerList(DestType, &E))
3347 Sequence.AddStdInitializerListConstructionStep(DestType);
3433 MultiExprArg Args, QualType DestType,
3441 if (!S.isCompleteType(Kind.getLocation(), DestType)) {
3442 Sequence.setIncompleteTypeFailure(DestType);
3446 const RecordType *DestRecordType = DestType->getAs<RecordType>();
3541 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates,
3606 QualType DestType = Entity.getType();
3607 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType();
3652 if (DestType->isRValueReferenceType() ||
3667 QualType DestType = Entity.getType();
3671 if (S.getLangOpts().CPlusPlus && DestType->isScalarType() &&
3672 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) {
3676 if (DestType->isReferenceType()) {
3681 if (DestType->isRecordType() &&
3682 !S.isCompleteType(InitList->getLocStart(), DestType)) {
3683 Sequence.setIncompleteTypeFailure(DestType);
3699 if (DestType->isRecordType()) {
3701 if (S.Context.hasSameUnqualifiedType(InitType, DestType) ||
3702 S.IsDerivedFrom(InitList->getLocStart(), InitType, DestType)) {
3704 TryConstructorInitialization(S, Entity, Kind, InitAsExpr, DestType,
3710 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) {
3736 if ((DestType->isRecordType() && !DestType->isAggregateType()) ||
3738 S.isStdInitializerList(DestType, nullptr))) {
3744 CXXRecordDecl *RD = DestType->getAsCXXRecordDecl();
3753 if (TryInitializerListConstruction(S, InitList, DestType, Sequence))
3758 TryConstructorInitialization(S, Entity, Kind, InitListAsExpr, DestType,
3765 if (S.getLangOpts().CPlusPlus && !DestType->isAggregateType() &&
3796 DestType, /*VerifyOnly=*/true);
3803 Sequence.AddListInitializationStep(DestType);
3814 QualType DestType = Entity.getType();
3815 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType();
3910 DestType, CandidateSet,
3915 Initializer, DestType, CandidateSet,
4001 QualType DestType = Entity.getType();
4002 QualType cv1T1 = DestType->getAs<ReferenceType>()->getPointeeType();
4082 QualType DestType = Entity.getType();
4085 bool isLValueRef = DestType->isLValueReferenceType();
4407 QualType DestType = S.Context.getBaseElementType(Entity.getType());
4412 if (DestType->isRecordType() && S.getLangOpts().CPlusPlus) {
4413 TryConstructorInitialization(S, Entity, Kind, None, DestType, Sequence);
4422 if (DestType.isConstQualified() && S.getLangOpts().CPlusPlus) {
4429 if (DestType.getQualifiers().hasObjCLifetime()) {
4439 QualType DestType,
4444 assert(!DestType->isReferenceType() && "References are handled elsewhere");
4446 assert((DestType->isRecordType() || SourceType->isRecordType()) &&
4458 if (const RecordType *DestRecordType = DestType->getAs<RecordType>()) {
4465 if (S.isCompleteType(Kind.getLocation(), DestType)) {
4533 ActingDC, Initializer, DestType,
4537 Initializer, DestType, CandidateSet,
4563 DestType.getUnqualifiedType(),
4577 Sequence.AddUserConversionStep(Function, Best->FoundDecl, DestType,
4592 Sequence.AddConversionSequenceStep(ICS, DestType, TopLevelOfInitList);
4768 QualType DestType,
4770 if (!S.getLangOpts().OpenCL || !DestType->isSamplerT() ||
4774 Sequence.AddOCLSamplerInitStep(DestType);
4788 QualType DestType,
4790 if (!S.getLangOpts().OpenCL || !DestType->isEventT() ||
4795 Sequence.AddOCLZeroEventStep(DestType);
4847 QualType DestType = Entity.getType();
4849 if (DestType->isDependentType() ||
4864 DestType, Initializer->getType(),
4866 S.ConversionToObjCStringLiteralCheck(DestType, Initializer))
4883 if (DestType->isReferenceType()) {
4914 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) {
4952 AddArrayInitStep(DestType);
4962 AddParenthesizedArrayInitStep(DestType);
4987 if (TryOCLSamplerInitialization(S, *this, DestType, Initializer))
4990 if (TryOCLZeroEventInitialization(S, *this, DestType, Initializer))
4994 AddCAssignmentStep(DestType);
5002 if (DestType->isRecordType()) {
5009 (Context.hasSameUnqualifiedType(SourceType, DestType) ||
5010 S.IsDerivedFrom(Initializer->getLocStart(), SourceType, DestType))))
5012 DestType, *this);
5020 TryUserDefinedConversion(S, DestType, Kind, Initializer, *this,
5037 if (const AtomicType *Atomic = DestType->getAs<AtomicType>()) {
5041 DestType = Atomic->getValueType();
5046 TryUserDefinedConversion(S, DestType, Kind, Initializer, *this,
5061 = S.TryImplicitConversion(Initializer, DestType,
5089 AddPassByIndirectCopyRestoreStep(DestType, ShouldCopy);
5095 !S.ResolveAddressOfOverloadedFunction(Initializer, DestType,
5104 AddConversionSequenceStep(ICS, DestType, TopLevelOfInitList);
5954 QualType DestType = InitExpr->getType();
5955 if (!DestType->isRecordType())
5997 if (!S.Context.hasSameUnqualifiedType(DestType, SourceType)) {
6064 QualType DestType = Entity.getType();
6066 << DestType << (bool)DestType->getAs<RecordType>()
6150 QualType DestType = Entity.getType().getNonReferenceType();
6284 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType))
6304 if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType))
6828 QualType destType = entity.getType();
6829 if (destType.getNonReferenceType()->isObjCObjectPointerType() &&
6839 S.EmitRelatedResultTypeNoteForReturn(destType);
6845 QualType DestType = Entity.getType();
6848 if (S.getLangOpts().CPlusPlus11 && S.isStdInitializerList(DestType, &E)) {
6859 if (DestType->isReferenceType()) {
6863 QualType T = DestType->getAs<ReferenceType>()->getPointeeType();
6872 InitListChecker DiagnoseInitList(S, Entity, InitList, DestType,
6885 QualType DestType = Entity.getType();
6894 DestType->isReferenceType());
6896 DiagnoseUninitializedReference(S, Kind.getLocation(), DestType);
6929 << DestType.getNonReferenceType()
6942 DestType.getNonReferenceType(),
6961 << Args[0]->getType() << DestType
6965 << DestType << Args[0]->getType()
6973 DestType.getNonReferenceType(),
6979 << DestType.getNonReferenceType();
6986 << Args[0]->getType() << DestType.getNonReferenceType()
7009 << DestType.getNonReferenceType().isVolatileQualified()
7010 << DestType.getNonReferenceType()
7021 << DestType.getNonReferenceType().isVolatileQualified()
7022 << DestType.getNonReferenceType()
7029 << DestType.getNonReferenceType() << Args[0]->getType()
7035 QualType NonRefType = DestType.getNonReferenceType();
7049 << DestType.getNonReferenceType()
7060 << DestType
7064 S.HandleFunctionTypeMismatch(PDiag, FromType, DestType);
7097 << DestType.getNonReferenceType() << Args[0]->getSourceRange();
7102 << (DestType->isRecordType()) << DestType << Args[0]->getSourceRange();
7119 // FIXME: Using "DestType" for the entity we're printing is probably
7124 << DestType << ArgsRange;
7172 << DestType << ArgsRange;
7182 << true << DestType << ArgsRange;
7193 << DestType << ArgsRange;
7196 << true << DestType << ArgsRange;
7225 << DestType << (bool)DestType->getAs<RecordType>();