Lines Matching refs:Initializer
3633 Expr *Initializer, in ResolveOverloadedFunctionForReferenceBinding() argument
3643 = S.ResolveAddressOfOverloadedFunction(Initializer, in ResolveOverloadedFunctionForReferenceBinding()
3662 Expr *Initializer,
3705 Expr *Initializer = InitList->getInit(0); in TryReferenceListInitialization() local
3706 QualType cv2T2 = Initializer->getType(); in TryReferenceListInitialization()
3711 if (ResolveOverloadedFunctionForReferenceBinding(S, Initializer, cv2T2, T2, in TryReferenceListInitialization()
3715 SourceLocation DeclLoc = Initializer->getLocStart(); in TryReferenceListInitialization()
3722 TryReferenceInitializationCore(S, Entity, Kind, Initializer, cv1T1, T1, in TryReferenceListInitialization()
3946 Expr *Initializer, in TryRefInitWithConversionFunction() argument
3952 QualType cv2T2 = Initializer->getType(); in TryRefInitWithConversionFunction()
3958 assert(!S.CompareReferenceRelationship(Initializer->getLocStart(), in TryRefInitWithConversionFunction()
3994 Initializer, CandidateSet, in TryRefInitWithConversionFunction()
3998 Initializer, CandidateSet, in TryRefInitWithConversionFunction()
4037 ActingDC, Initializer, in TryRefInitWithConversionFunction()
4043 Initializer, DestType, CandidateSet, in TryRefInitWithConversionFunction()
4051 SourceLocation DeclLoc = Initializer->getLocStart(); in TryRefInitWithConversionFunction()
4127 Expr *Initializer, in TryReferenceInitialization() argument
4133 QualType cv2T2 = Initializer->getType(); in TryReferenceInitialization()
4140 if (ResolveOverloadedFunctionForReferenceBinding(S, Initializer, cv2T2, T2, in TryReferenceInitialization()
4145 TryReferenceInitializationCore(S, Entity, Kind, Initializer, cv1T1, T1, in TryReferenceInitialization()
4166 Expr *Initializer, in convertQualifiersAndValueKindIfNecessary() argument
4171 bool IsNonAddressableType = Initializer->refersToBitField() || in convertQualifiersAndValueKindIfNecessary()
4172 Initializer->refersToVectorElement(); in convertQualifiersAndValueKindIfNecessary()
4182 assert(Initializer->isGLValue()); in convertQualifiersAndValueKindIfNecessary()
4183 return Initializer->getValueKind(); in convertQualifiersAndValueKindIfNecessary()
4193 Initializer->getValueKind()); in convertQualifiersAndValueKindIfNecessary()
4196 return Initializer->getValueKind(); in convertQualifiersAndValueKindIfNecessary()
4203 Expr *Initializer, in TryReferenceInitializationCore() argument
4210 SourceLocation DeclLoc = Initializer->getLocStart(); in TryReferenceInitializationCore()
4217 Expr::Classification InitCategory = Initializer->Classify(S.Context); in TryReferenceInitializationCore()
4255 convertQualifiersAndValueKindIfNecessary(S, Sequence, Initializer, in TryReferenceInitializationCore()
4273 S, Entity, Kind, Initializer, /*AllowRValues*/isRValueRef, Sequence); in TryReferenceInitializationCore()
4328 CheckCXX98CompatAccessibleCopy(S, Entity, Initializer); in TryReferenceInitializationCore()
4339 Initializer, cv1T1, in TryReferenceInitializationCore()
4356 S, Entity, Kind, Initializer, /*AllowRValues*/true, Sequence); in TryReferenceInitializationCore()
4387 = S.TryImplicitConversion(Initializer, TempEntity.getType(), in TryReferenceInitializationCore()
4440 Expr *Initializer, in TryStringLiteralInitialization() argument
4567 Expr *Initializer, in TryUserDefinedConversion() argument
4571 QualType SourceType = Initializer->getType(); in TryUserDefinedConversion()
4610 Initializer, CandidateSet, in TryUserDefinedConversion()
4614 Initializer, CandidateSet, in TryUserDefinedConversion()
4621 SourceLocation DeclLoc = Initializer->getLocStart(); in TryUserDefinedConversion()
4651 ActingDC, Initializer, DestType, in TryUserDefinedConversion()
4655 Initializer, DestType, CandidateSet, in TryUserDefinedConversion()
4840 Expr *Initializer) { in tryObjCWritebackConversion() argument
4842 QualType ArgType = Initializer->getType(); in tryObjCWritebackConversion()
4863 if (ArrayDecay || Initializer->isGLValue()) { in tryObjCWritebackConversion()
4874 ResultType = Initializer->getType().getNonLValueExprType(S.Context); in tryObjCWritebackConversion()
4887 Expr *Initializer) { in TryOCLSamplerInitialization() argument
4889 !Initializer->isIntegerConstantExpr(S.getASTContext())) in TryOCLSamplerInitialization()
4907 Expr *Initializer) { in TryOCLZeroEventInitialization() argument
4909 !Initializer->isIntegerConstantExpr(S.getASTContext()) || in TryOCLZeroEventInitialization()
4910 (Initializer->EvaluateKnownConstInt(S.getASTContext()) != 0)) in TryOCLZeroEventInitialization()
4980 Expr *Initializer = nullptr; in InitializeFrom() local
4982 Initializer = Args[0]; in InitializeFrom()
4984 if (S.CheckObjCBridgeRelatedConversions(Initializer->getLocStart(), in InitializeFrom()
4985 DestType, Initializer->getType(), in InitializeFrom()
4986 Initializer) || in InitializeFrom()
4987 S.ConversionToObjCStringLiteralCheck(DestType, Initializer)) in InitializeFrom()
4988 Args[0] = Initializer; in InitializeFrom()
4990 if (!isa<InitListExpr>(Initializer)) in InitializeFrom()
4991 SourceType = Initializer->getType(); in InitializeFrom()
4997 if (InitListExpr *InitList = dyn_cast_or_null<InitListExpr>(Initializer)) { in InitializeFrom()
5037 if (Initializer && isa<VariableArrayType>(DestAT)) { in InitializeFrom()
5042 if (Initializer) { in InitializeFrom()
5043 switch (IsStringInit(Initializer, DestAT, Context)) { in InitializeFrom()
5045 TryStringLiteralInitialization(S, Entity, Kind, Initializer, *this); in InitializeFrom()
5064 if (!S.getLangOpts().CPlusPlus && Initializer && in InitializeFrom()
5065 isa<CompoundLiteralExpr>(Initializer->IgnoreParens()) && in InitializeFrom()
5066 Initializer->getType()->isArrayType()) { in InitializeFrom()
5068 = Context.getAsArrayType(Initializer->getType()); in InitializeFrom()
5071 else if (Initializer->HasSideEffects(S.Context)) in InitializeFrom()
5081 Initializer && isa<InitListExpr>(Initializer)) { in InitializeFrom()
5082 TryListInitialization(S, Entity, Kind, cast<InitListExpr>(Initializer), in InitializeFrom()
5105 tryObjCWritebackConversion(S, *this, Entity, Initializer)) { in InitializeFrom()
5109 if (TryOCLSamplerInitialization(S, *this, DestType, Initializer)) in InitializeFrom()
5112 if (TryOCLZeroEventInitialization(S, *this, DestType, Initializer)) in InitializeFrom()
5132 S.IsDerivedFrom(Initializer->getLocStart(), SourceType, DestType)))) in InitializeFrom()
5142 TryUserDefinedConversion(S, DestType, Kind, Initializer, *this, in InitializeFrom()
5161 S.IsDerivedFrom(Initializer->getLocStart(), SourceType, in InitializeFrom()
5168 TryUserDefinedConversion(S, DestType, Kind, Initializer, *this, in InitializeFrom()
5183 = S.TryImplicitConversion(Initializer, DestType, in InitializeFrom()
5214 if (isLibstdcxxPointerReturnFalseHack(S, Entity, Initializer)) { in InitializeFrom()
5216 } else if (Initializer->getType() == Context.OverloadTy && in InitializeFrom()
5217 !S.ResolveAddressOfOverloadedFunction(Initializer, DestType, in InitializeFrom()
5220 else if (Initializer->getType()->isFunctionType() && in InitializeFrom()
5221 isExprAnUnaddressableFunction(S, Initializer)) in InitializeFrom()
5389 Expr *Initializer) { in getInitializationLoc() argument
5416 return Initializer->getLocStart(); in getInitializationLoc()