|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/Sema/Sema.h10112 ExprResult ImpCastExprToType(Expr *E, QualType Type, CastKind CK,
References
tools/clang/lib/Sema/SemaChecking.cpp 301 S.ImpCastExprToType(Builtin, BuiltinPtrTy, CK_BuiltinFnToFnPtr).get();
1786 PointerArgRes = ImpCastExprToType(PointerArg, AddrType, CastNeeded);
5373 ExprResult PromotedCall = ImpCastExprToType(NewDRE, CalleePtrTy,
6483 ArgExprA = ImpCastExprToType(ArgExprA.get(), ArgTypeB, CK_NullToPointer);
6486 ArgExprB = ImpCastExprToType(ArgExprB.get(), ArgTypeA, CK_NullToPointer);
tools/clang/lib/Sema/SemaDecl.cpp16948 Val = ImpCastExprToType(Val, EltTy,
16972 Val = ImpCastExprToType(Val, Context.IntTy, CK_IntegralCast).get();
tools/clang/lib/Sema/SemaDeclCXX.cpp 1387 E = S.ImpCastExprToType(E.get(), BaseType, CK_UncheckedDerivedToBase,
4552 CopyCtorArg = SemaRef.ImpCastExprToType(CopyCtorArg, ArgTy,
11943 return assertNotNull(S.ImpCastExprToType(Builder.build(S, Loc), Type,
tools/clang/lib/Sema/SemaExpr.cpp 457 E = ImpCastExprToType(E, Context.getPointerType(Ty),
472 E = ImpCastExprToType(E, Context.getArrayDecayedType(Ty),
673 Res = ImpCastExprToType(E, Context.getPointerType(Ty),
701 return ImpCastExprToType(Res.get(), Context.FloatTy, CK_FloatingCast);
722 E = ImpCastExprToType(E, PTy, CK_IntegralCast).get();
727 E = ImpCastExprToType(E, PT, CK_IntegralCast).get();
757 E = ImpCastExprToType(E, Context.FloatTy, CK_FloatingCast).get();
760 E = ImpCastExprToType(E, Context.DoubleTy, CK_FloatingCast).get();
959 IntExpr = S.ImpCastExprToType(IntExpr.get(), fpTy, CK_IntegralToFloating);
960 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy,
964 IntExpr = S.ImpCastExprToType(IntExpr.get(), ComplexTy,
1012 S.ImpCastExprToType(LHS.get(), ResultType, CK_FloatingComplexCast);
1014 LHS = S.ImpCastExprToType(LHS.get(), RHSElementType, CK_FloatingCast);
1019 RHS = S.ImpCastExprToType(RHS.get(), ResultType, CK_FloatingComplexCast);
1021 RHS = S.ImpCastExprToType(RHS.get(), LHSElementType, CK_FloatingCast);
1035 IntExpr = S.ImpCastExprToType(IntExpr.get(), FloatTy,
1046 IntExpr = S.ImpCastExprToType(IntExpr.get(), result,
1051 FloatExpr = S.ImpCastExprToType(FloatExpr.get(), result,
1070 RHS = S.ImpCastExprToType(RHS.get(), LHSType, CK_FloatingCast);
1076 LHS = S.ImpCastExprToType(LHS.get(), RHSType, CK_FloatingCast);
1142 return S.ImpCastExprToType(op, toType, CK_IntegralCast);
1146 return S.ImpCastExprToType(op, S.Context.getComplexType(toType),
1227 RHS = S.ImpCastExprToType(RHS.get(), ComplexType,
1242 LHS = S.ImpCastExprToType(LHS.get(), ComplexType,
1378 LHS = ImpCastExprToType(LHS.get(), LHSType, CK_IntegralCast);
2759 From = ImpCastExprToType(From, QType, CK_UncheckedDerivedToBase,
2796 From = ImpCastExprToType(From, UType, CK_UncheckedDerivedToBase,
2813 return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase,
3582 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get();
3588 Res = ImpCastExprToType(Res, Context.FloatTy, CK_FloatingCast).get();
4715 LHSExp = ImpCastExprToType(LHSExp, Context.getArrayDecayedType(LHSTy),
4726 RHSExp = ImpCastExprToType(RHSExp, Context.getArrayDecayedType(RHSTy),
5823 Result = ImpCastExprToType(Fn, FnPtrTy, CK_BuiltinFnToFnPtr).get();
6360 Src = ImpCastExprToType(Src.get(),
6365 Src = ImpCastExprToType(Src.get(),
6385 Src = ImpCastExprToType(Src.get(),
6390 Src = ImpCastExprToType(Src.get(),
6418 Src = ImpCastExprToType(Src.get(), ET, CK_FloatingComplexToReal);
6424 Src = ImpCastExprToType(Src.get(),
6452 Src = ImpCastExprToType(Src.get(), ET, CK_IntegralComplexToReal);
6458 Src = ImpCastExprToType(Src.get(),
6597 ExprResult CastExprRes = ImpCastExprToType(SplattedExpr, Context.IntTy,
6611 return ImpCastExprToType(SplattedExpr, DestElemTy, CK);
6766 Literal = ImpCastExprToType(Literal.get(), ElemTy,
6788 Literal = ImpCastExprToType(Literal.get(), ElemTy,
6900 LHS = S.ImpCastExprToType(LHS.get(), S.Context.VoidTy, CK_ToVoid);
6901 RHS = S.ImpCastExprToType(RHS.get(), S.Context.VoidTy, CK_ToVoid);
6914 NullExpr = S.ImpCastExprToType(NullExpr.get(), PointerTy, CK_NullToPointer);
7007 LHS = S.ImpCastExprToType(LHS.get(), incompatTy, LHSCastKind);
7008 RHS = S.ImpCastExprToType(RHS.get(), incompatTy, RHSCastKind);
7043 LHS = S.ImpCastExprToType(LHS.get(), ResultTy, LHSCastKind);
7044 RHS = S.ImpCastExprToType(RHS.get(), ResultTy, RHSCastKind);
7059 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_BitCast);
7060 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast);
7093 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_NoOp);
7095 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_BitCast);
7103 RHS = S.ImpCastExprToType(RHS.get(), destType, CK_NoOp);
7105 LHS = S.ImpCastExprToType(LHS.get(), destType, CK_BitCast);
7127 Int = S.ImpCastExprToType(Int.get(), PointerExpr->getType(),
7226 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat);
7227 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat);
7392 LHS = ImpCastExprToType(LHS.get(), ResTy, PrepareScalarCast(LHS, ResTy));
7393 RHS = ImpCastExprToType(RHS.get(), ResTy, PrepareScalarCast(RHS, ResTy));
7473 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_CPointerToObjCPointerCast);
7478 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
7484 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_CPointerToObjCPointerCast);
7489 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
7495 RHS = ImpCastExprToType(RHS.get(), LHSTy, CK_BitCast);
7500 LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_BitCast);
7550 LHS = ImpCastExprToType(LHS.get(), incompatTy, CK_BitCast);
7551 RHS = ImpCastExprToType(RHS.get(), incompatTy, CK_BitCast);
7555 LHS = ImpCastExprToType(LHS.get(), compositeType, CK_BitCast);
7556 RHS = ImpCastExprToType(RHS.get(), compositeType, CK_BitCast);
7575 LHS = ImpCastExprToType(LHS.get(), destType, CK_NoOp);
7577 RHS = ImpCastExprToType(RHS.get(), destType, CK_BitCast);
7595 RHS = ImpCastExprToType(RHS.get(), destType, CK_NoOp);
7597 LHS = ImpCastExprToType(LHS.get(), destType, CK_BitCast);
8183 RHS = ImpCastExprToType(RHS.get(), AtomicTy->getValueType(), Kind);
8245 *VecExpr = ImpCastExprToType(VecExpr->get(), LHSType, CK_BitCast);
8511 RHS = ImpCastExprToType(RHS.get(), it->getType(), CK_BitCast);
8518 RHS = ImpCastExprToType(RHS.get(), it->getType(),
8528 RHS = ImpCastExprToType(RHS.get(), it->getType(), Kind);
8625 RHS = ImpCastExprToType(RHS.get(), LHSType, Kind, VK_RValue, &Path);
8633 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
8685 RHS = ImpCastExprToType(E, Ty, Kind);
8816 *scalar = S.ImpCastExprToType(scalar->get(), vectorEltTy, scalarCast);
8817 *scalar = S.ImpCastExprToType(scalar->get(), vectorTy, CK_VectorSplat);
8838 return S.ImpCastExprToType(E, NewVecTy, Cast);
8994 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorEltTy, ScalarCast);
8995 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat);
9037 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_BitCast);
9042 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_BitCast);
9056 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_BitCast);
9063 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_BitCast);
9107 *OtherExpr = ImpCastExprToType(OtherExpr->get(), VecType, CK_BitCast);
9117 *RHSExpr = ImpCastExprToType(RHSExpr->get(), LHSType, CK_BitCast);
9925 LHS = S.ImpCastExprToType(LHS.get(),RHSEleType, CK_IntegralCast);
9930 LHS = S.ImpCastExprToType(LHS.get(), VecTy, CK_VectorSplat);
9956 RHS = S.ImpCastExprToType(RHS.get(), VecTy, CK_VectorSplat);
10088 LHS = S.ImpCastExprToType(LHS.get(), T, CK_BitCast);
10089 RHS = S.ImpCastExprToType(RHS.get(), T, CK_BitCast);
10550 LHS = S.ImpCastExprToType(LHS.get(), IntType, CK_IntegralCast);
10551 RHS = S.ImpCastExprToType(RHS.get(), IntType, CK_IntegralCast);
10771 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_BitCast);
10837 LHS = ImpCastExprToType(LHS.get(), RHSType, Kind);
10839 RHS = ImpCastExprToType(RHS.get(), LHSType, Kind);
10850 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
10854 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10863 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
10868 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10889 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
10891 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10921 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_BitCast);
10939 LHS = ImpCastExprToType(LHS.get(), RHSType,
10943 RHS = ImpCastExprToType(RHS.get(), LHSType,
10967 LHS = ImpCastExprToType(E, RHSType,
10976 RHS = ImpCastExprToType(E, LHSType,
10990 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_BitCast);
10992 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_BitCast);
10998 LHS = ImpCastExprToType(LHS.get(), RHSType,
11004 RHS = ImpCastExprToType(RHS.get(), LHSType,
11041 LHS = ImpCastExprToType(LHS.get(), RHSType,
11044 RHS = ImpCastExprToType(RHS.get(), LHSType,
11052 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
11057 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
11071 LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
11076 RHS = ImpCastExprToType(RHS.get(), LHSType, CK_NullToPointer);
13574 Input = ImpCastExprToType(Input.get(), Context.FloatTy, CK_FloatingCast).get();
13585 Input = ImpCastExprToType(Input.get(), Context.BoolTy,
14368 Result = ImpCastExprToType(Result.get(),
16606 return S.ImpCastExprToType(Sub.get(), ICE->getType(), ICE->getCastKind(),
17687 return S.ImpCastExprToType(Result.get(), Type,
17931 E = ImpCastExprToType(E, Context.getPointerType(FD->getType()),
tools/clang/lib/Sema/SemaExprCXX.cpp 516 E = ImpCastExprToType(E, UnqualT, CK_NoOp, E->getValueKind()).get();
3428 Ex = ImpCastExprToType(Ex.get(), Unqual, CK_NoOp);
3972 From = ImpCastExprToType(From, FromType, CK_ArrayToPointerDecay,
3978 From = ImpCastExprToType(From, FromType, CK_FunctionToPointerDecay,
4021 From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean,
4024 From = ImpCastExprToType(From, ToType, CK_IntegralCast,
4031 From = ImpCastExprToType(From, ToType, CK_FloatingCast,
4050 From = ImpCastExprToType(From, ToType, CK,
4057 From = ImpCastExprToType(From, ToType, CK_IntegralToFloating,
4060 From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral,
4065 From = ImpCastExprToType(From, ToType, CK_NoOp,
4112 From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
4132 From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
4140 From = ImpCastExprToType(From, Context.FloatTy, CK_FloatingCast).get();
4144 From = ImpCastExprToType(From, Context.BoolTy,
4156 From = ImpCastExprToType(From, ToType.getNonReferenceType(),
4163 From = ImpCastExprToType(From, ToType, CK_BitCast,
4170 From = ImpCastExprToType(Elem, ToType, CK_VectorSplat, VK_RValue,
4185 From = ImpCastExprToType(From, ElType,
4189 From = ImpCastExprToType(From, ElType,
4193 From = ImpCastExprToType(From, ToType,
4206 From = ImpCastExprToType(From, ElType,
4215 From = ImpCastExprToType(From, ToType,
4220 From = ImpCastExprToType(From, ToType,
4236 From = ImpCastExprToType(From, ToType.getUnqualifiedType(), Kind,
4256 From = ImpCastExprToType(From, ToType,
4283 From = ImpCastExprToType(From, ToType, CK_NoOp,
4305 From = ImpCastExprToType(From, ToType.getNonLValueExprType(Context), CK, VK,
4330 From = ImpCastExprToType(From, ToAtomicType, CK_NonAtomicToAtomic,
5489 LHS = ImpCastExprToType(LHS.get(), UseType, CK_DerivedToBase, VK,
5864 RHS = ImpCastExprToType(RHS.get(), LTy, CK_NoOp, RVK);
5873 LHS = ImpCastExprToType(LHS.get(), RTy, CK_NoOp, LVK);
5989 LHS = ImpCastExprToType(LHS.get(), ResTy, PrepareScalarCast(LHS, ResTy));
5990 RHS = ImpCastExprToType(RHS.get(), ResTy, PrepareScalarCast(RHS, ResTy));
6137 E2 = ImpCastExprToType(E2, T1, T1->isMemberPointerType()
6145 E1 = ImpCastExprToType(E1, T2, T2->isMemberPointerType()
7389 E = ImpCastExprToType(E, Context.VoidTy, CK_ToVoid).get();
tools/clang/lib/Sema/SemaExprMember.cpp 1213 base = S.ImpCastExprToType(base.get(), redef, CK_BitCast);
1626 BaseExpr = S.ImpCastExprToType(
tools/clang/lib/Sema/SemaExprObjC.cpp 375 Inner = ImpCastExprToType(Inner.get(), Context.BoolTy,
2749 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
2756 Receiver = ImpCastExprToType(Receiver, Context.getObjCIdType(),
tools/clang/lib/Sema/SemaInit.cpp 7741 return ImpCastExprToType(E, Ty, CK, VK, /*BasePath=*/nullptr, CCK);
8145 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
8373 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
8556 CurInit = S.ImpCastExprToType(Init, S.Context.OCLSamplerTy,
8565 CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
tools/clang/lib/Sema/SemaOverload.cpp 71 return S.ImpCastExprToType(DRE, S.Context.getPointerType(DRE->getType()),
5377 From = ImpCastExprToType(From, DestType, CK, From->getValueKind()).get();
tools/clang/lib/Sema/SemaPseudoObject.cpp 854 result = S.ImpCastExprToType(result.get(), propType, CK_BitCast);
tools/clang/lib/Sema/SemaStmt.cpp 461 ER = ImpCastExprToType(ER.get(), CondType, CK_IntegralCast);
3688 RetValExp = ImpCastExprToType(RetValExp,
tools/clang/lib/Sema/SemaStmtAsm.cpp 647 InputExpr = ImpCastExprToType(InputExpr, OutTy, castKind).get();
tools/clang/lib/Sema/SemaTemplate.cpp 6286 ResultArg = S.ImpCastExprToType(ResultArg, ParamType, CK_NoOp,
6425 ExprResult E = ImpCastExprToType(
6653 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralToBoolean).get();
6657 Arg = ImpCastExprToType(Arg, ParamType, CK_IntegralCast).get();
6956 return ImpCastExprToType(
7009 RefExpr = ImpCastExprToType(RefExpr.get(), ParamType.getUnqualifiedType(), CK_NoOp);
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 441 S.ImpCastExprToType(new (S.Context) CXXNullPtrLiteralExpr(
tools/clang/lib/Sema/TreeTransform.h 3238 Callee = SemaRef.ImpCastExprToType(Callee, CalleePtrTy,