/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 534 E = ImpCastExprToType(E, Context.getPointerType(Ty), in DefaultFunctionArrayConversion() 549 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), in DefaultFunctionArrayConversion() 745 Res = ImpCastExprToType(E, Context.getPointerType(Ty), in CallExprUnaryConversions() 773 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions() 794 E = ImpCastExprToType(E, PTy, CK_IntegralCast).get(); in UsualUnaryConversions() 799 E = ImpCastExprToType(E, PT, CK_IntegralCast).get(); in UsualUnaryConversions() 824 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).get(); in DefaultArgumentPromotion() 1017 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating); in handleIntegerToComplexFloatConversion() 1018 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion() 1022 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion() [all …]
|
D | SemaExprCXX.cpp | 444 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId() 3412 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion() 3418 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion() 3461 From = ImpCastExprToType(From, ToType, CK_NoOp, in PerformImplicitConversion() 3471 From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean, in PerformImplicitConversion() 3474 From = ImpCastExprToType(From, ToType, CK_IntegralCast, in PerformImplicitConversion() 3481 From = ImpCastExprToType(From, ToType, CK_FloatingCast, in PerformImplicitConversion() 3500 From = ImpCastExprToType(From, ToType, CK, in PerformImplicitConversion() 3507 From = ImpCastExprToType(From, ToType, CK_IntegralToFloating, in PerformImplicitConversion() 3510 From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral, in PerformImplicitConversion() [all …]
|
D | SemaStmtAsm.cpp | 534 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
|
D | SemaExprMember.cpp | 1251 base = S.ImpCastExprToType(base.get(), redef, CK_BitCast); in ShouldTryAgainWithRedefinitionType() 1653 BaseExpr = S.ImpCastExprToType( in LookupMemberExpr()
|
D | SemaStmt.cpp | 858 Lo = ImpCastExprToType(Lo, CondType, CK_IntegralCast).get(); in ActOnFinishSwitchStmt() 974 Hi = ImpCastExprToType(Hi, CondType, CK_IntegralCast).get(); in ActOnFinishSwitchStmt() 3279 RetValExp = ImpCastExprToType(RetValExp, in BuildReturnStmt()
|
D | SemaTemplate.cpp | 4786 Arg = S.ImpCastExprToType(Arg, ParamType, CK_NoOp, in CheckTemplateArgumentPointerToMember() 5137 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralToBoolean).get(); in CheckTemplateArgument() 5141 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralCast).get(); in CheckTemplateArgument() 5421 return ImpCastExprToType( in BuildExpressionFromDeclTemplateArgument() 5474 RefExpr = ImpCastExprToType(RefExpr.get(), ParamType.getUnqualifiedType(), CK_NoOp); in BuildExpressionFromDeclTemplateArgument()
|
D | Sema.cpp | 368 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType() function in Sema
|
D | SemaExprObjC.cpp | 375 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral() 2606 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage() 2613 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
|
D | SemaInit.cpp | 6617 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK); in Perform() 6623 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform() 6828 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform() 6926 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
|
D | SemaPseudoObject.cpp | 840 result = S.ImpCastExprToType(result.get(), propType, CK_BitCast); in buildRValueOperation()
|
D | SemaChecking.cpp | 231 S.ImpCastExprToType(Builtin, BuiltinPtrTy, CK_BuiltinFnToFnPtr).get(); in SemaBuiltinCallWithStaticChain() 1309 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall() 2997 ExprResult PromotedCall = ImpCastExprToType(NewDRE, CalleePtrTy, in SemaBuiltinAtomicOverloaded()
|
D | SemaDecl.cpp | 14353 Val = ImpCastExprToType(Val, EltTy, CK_IntegralCast).get(); in CheckEnumConstant() 14357 Val = ImpCastExprToType(Val, EltTy, in CheckEnumConstant() 14381 Val = ImpCastExprToType(Val, Context.IntTy, CK_IntegralCast).get(); in CheckEnumConstant()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExpr.cpp | 520 E = ImpCastExprToType(E, Context.getPointerType(Ty), in DefaultFunctionArrayConversion() 535 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty), in DefaultFunctionArrayConversion() 750 Res = ImpCastExprToType(E, Context.getPointerType(Ty), in CallExprUnaryConversions() 778 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast); in UsualUnaryConversions() 799 E = ImpCastExprToType(E, PTy, CK_IntegralCast).get(); in UsualUnaryConversions() 804 E = ImpCastExprToType(E, PT, CK_IntegralCast).get(); in UsualUnaryConversions() 834 E = ImpCastExprToType(E, Context.FloatTy, CK_FloatingCast).get(); in DefaultArgumentPromotion() 837 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).get(); in DefaultArgumentPromotion() 1041 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating); in handleIntegerToComplexFloatConversion() 1042 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy, in handleIntegerToComplexFloatConversion() [all …]
|
D | SemaExprCXX.cpp | 596 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get(); in BuildCXXTypeId() 3586 Ex = ImpCastExprToType(Ex.get(), Unqual, CK_NoOp); in ActOnCXXDelete() 4134 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay, in PerformImplicitConversion() 4140 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay, in PerformImplicitConversion() 4183 From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean, in PerformImplicitConversion() 4186 From = ImpCastExprToType(From, ToType, CK_IntegralCast, in PerformImplicitConversion() 4193 From = ImpCastExprToType(From, ToType, CK_FloatingCast, in PerformImplicitConversion() 4212 From = ImpCastExprToType(From, ToType, CK, in PerformImplicitConversion() 4219 From = ImpCastExprToType(From, ToType, CK_IntegralToFloating, in PerformImplicitConversion() 4222 From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral, in PerformImplicitConversion() [all …]
|
D | SemaExprMember.cpp | 1211 base = S.ImpCastExprToType(base.get(), redef, CK_BitCast); in ShouldTryAgainWithRedefinitionType() 1624 BaseExpr = S.ImpCastExprToType( in LookupMemberExpr()
|
D | SemaStmtAsm.cpp | 666 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get(); in ActOnGCCAsmStmt()
|
D | SemaInit.cpp | 7913 return ImpCastExprToType(E, Ty, CK, VK, /*BasePath=*/nullptr, CCK); in PerformQualificationConversion() 8319 S.ImpCastExprToType(CurInit.get(), Step->Type, CK_NoOp, VK_LValue); in Perform() 8324 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform() 8557 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform() 8740 CurInit = S.ImpCastExprToType(Init, S.Context.OCLSamplerTy, in Perform() 8749 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type, in Perform()
|
D | SemaTemplate.cpp | 6754 ResultArg = S.ImpCastExprToType(ResultArg, ParamType, CK_NoOp, in CheckTemplateArgumentPointerToMember() 6914 ExprResult E = ImpCastExprToType( in CheckTemplateArgument() 7167 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralToBoolean).get(); in CheckTemplateArgument() 7171 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralCast).get(); in CheckTemplateArgument() 7508 return ImpCastExprToType( in BuildExpressionFromDeclTemplateArgument() 7587 RefExpr = ImpCastExprToType(RefExpr.get(), DestExprType, CK, in BuildExpressionFromDeclTemplateArgument()
|
D | SemaExprObjC.cpp | 377 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy, in ActOnObjCBoolLiteral() 2915 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage() 2922 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(), in BuildInstanceMessage()
|
D | SemaPseudoObject.cpp | 846 result = S.ImpCastExprToType(result.get(), propType, CK_BitCast); in buildRValueOperation()
|
D | SemaStmt.cpp | 477 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast); in ActOnCaseExpr() 3772 RetValExp = ImpCastExprToType(RetValExp, in BuildReturnStmt()
|
D | Sema.cpp | 545 ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty, in ImpCastExprToType() function in Sema
|
D | SemaChecking.cpp | 396 S.ImpCastExprToType(Builtin, BuiltinPtrTy, CK_BuiltinFnToFnPtr).get(); in SemaBuiltinCallWithStaticChain() 2354 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded); in CheckARMBuiltinExclusiveCall() 5542 ExprResult PromotedCall = ImpCastExprToType(NewDRE, CalleePtrTy, in SemaBuiltinAtomicOverloaded() 6696 ArgExprA = ImpCastExprToType(ArgExprA.get(), ArgTypeB, CK_NullToPointer); in SemaBuiltinARMMemoryTaggingCall() 6699 ArgExprB = ImpCastExprToType(ArgExprB.get(), ArgTypeA, CK_NullToPointer); in SemaBuiltinARMMemoryTaggingCall()
|
D | SemaDeclCXX.cpp | 1427 E = S.ImpCastExprToType(E.get(), BaseType, CK_UncheckedDerivedToBase, in checkMemberDecomposition() 4641 CopyCtorArg = SemaRef.ImpCastExprToType(CopyCtorArg, ArgTy, in BuildImplicitBaseInitializer() 8038 return {S.ImpCastExprToType(Obj.first.get(), Base->getType(), in getBase() 8040 S.ImpCastExprToType(Obj.second.get(), Base->getType(), in getBase() 13493 return assertNotNull(S.ImpCastExprToType(Builder.build(S, Loc), Type, in build()
|
D | SemaTemplateDeduction.cpp | 459 S.ImpCastExprToType(new (S.Context) CXXNullPtrLiteralExpr( in DeduceNullPtrTemplateArgument()
|