Home
last modified time | relevance | path

Searched refs:CastKind (Results 1 – 22 of 22) sorted by relevance

/external/clang/include/clang/AST/
DOperationKinds.h21 enum CastKind { enum
301 static const CastKind CK_Invalid = static_cast<CastKind>(-1);
DExprCXX.h186 CastKind kind, Expr *op, unsigned PathSize, in CXXNamedCastExpr()
231 CXXStaticCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op, in CXXStaticCastExpr()
243 ExprValueKind VK, CastKind K, Expr *Op,
263 CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind, in CXXDynamicCastExpr()
275 ExprValueKind VK, CastKind Kind, Expr *Op,
298 CXXReinterpretCastExpr(QualType ty, ExprValueKind vk, CastKind kind, in CXXReinterpretCastExpr()
311 ExprValueKind VK, CastKind Kind,
1055 SourceLocation tyBeginLoc, CastKind kind, in CXXFunctionalCastExpr()
1070 CastKind Kind, Expr *Op,
DExpr.h2616 typedef clang::CastKind CastKind; typedef
2636 const CastKind kind, Expr *op, unsigned BasePathSize) : in CastExpr()
2664 CastKind getCastKind() const { return (CastKind) CastExprBits.Kind; } in getCastKind()
2665 void setCastKind(CastKind K) { CastExprBits.Kind = K; } in setCastKind()
2722 ImplicitCastExpr(QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
2733 ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr()
2739 CastKind Kind, Expr *Operand,
2787 CastKind kind, Expr *op, unsigned PathSize, in ExplicitCastExpr()
2818 CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op, in CStyleCastExpr()
2830 ExprValueKind VK, CastKind K,
DExprObjC.h1511 CastKind CK, SourceLocation BridgeKeywordLoc,
/external/clang/lib/Sema/
DSemaCast.cpp67 CastKind Kind;
159 CastKind &Kind,
166 CastKind &Kind,
172 CastKind &Kind,
179 CastKind &Kind,
186 CastKind &Kind,
193 unsigned &msg, CastKind &Kind,
199 unsigned &msg, CastKind &Kind,
208 CastKind &Kind);
793 CastKind &Kind, CXXCastPath &BasePath, in TryStaticCast()
[all …]
DSemaExprCXX.cpp2313 CastKind Kind, in BuildCXXCastArgument()
2388 CastKind CastKind; in PerformImplicitConversion() local
2392 CastKind = CK_UserDefinedConversion; in PerformImplicitConversion()
2400 CastKind = CK_ConstructorConversion; in PerformImplicitConversion()
2424 CastKind, cast<CXXMethodDecl>(FD), in PerformImplicitConversion()
2588 CastKind CK; in PerformImplicitConversion()
2650 CastKind Kind = CK_Invalid; in PerformImplicitConversion()
2669 CastKind Kind = CK_Invalid; in PerformImplicitConversion()
4684 CastKind ck = (ReturnsRetained ? CK_ARCConsumeObject in MaybeBindToTemporary()
DSema.cpp263 CastKind Kind, ExprValueKind VK, in ImpCastExprToType()
315 CastKind Sema::ScalarTypeToBooleanCastKind(QualType ScalarTy) { in ScalarTypeToBooleanCastKind()
DSemaStmtAsm.cpp358 CastKind castKind = in ActOnGCCAsmStmt()
DSemaExpr.cpp4362 CastKind Sema::PrepareCastToObjCObjectPointer(ExprResult &E) { in PrepareCastToObjCObjectPointer()
4377 CastKind Sema::PrepareScalarCast(ExprResult &Src, QualType DestTy) { in PrepareScalarCast()
4539 CastKind &Kind) { in CheckVectorCast()
4559 Expr *CastExpr, CastKind &Kind) { in CheckExtVectorCast()
4590 CastKind CK = PrepareScalarCast(CastExprRes, DestElemTy); in CheckExtVectorCast()
5670 CastKind K = CK_Invalid; in CheckAssignmentConstraints()
5694 CastKind &Kind) { in CheckAssignmentConstraints()
6014 CastKind Kind = CK_Invalid; in CheckTransparentUnionArgumentConstraints()
6095 CastKind Kind = CK_Invalid; in CheckSingleAssignmentConstraints()
6954 CastKind CK = cast<CastExpr>(Inner)->getCastKind(); in CheckLiteralKind()
[all …]
DSemaInit.cpp5125 CastKind CastKind; in Perform() local
5160 CastKind = CK_ConstructorConversion; in Perform()
5190 CastKind = CK_UserDefinedConversion; in Perform()
5212 CastKind, CurInit.get(), 0, in Perform()
DSemaExprObjC.cpp2160 CastKind Kind = IsNull ? CK_NullToPointer : CK_IntegralToPointer; in BuildInstanceMessage()
3248 CastKind CK; in BuildObjCBridgedCast()
DSemaOverload.cpp2649 CastKind &Kind, in CheckPointerConversion()
2763 CastKind &Kind, in CheckMemberPointerConversion()
/external/clang/lib/AST/
DExprCXX.cpp526 CastKind K, Expr *Op, in Create()
551 CastKind K, Expr *Op, in Create()
609 CastKind K, Expr *Op, in Create()
647 CastKind K, Expr *Op, const CXXCastPath *BasePath, in Create()
DExpr.cpp1625 CastKind Kind, Expr *Operand, in Create()
1646 ExprValueKind VK, CastKind K, Expr *Op, in Create()
/external/clang/lib/CodeGen/
DCGExprComplex.cpp140 ComplexPairTy EmitCast(CastExpr::CastKind CK, Expr *Op, QualType DestTy);
376 ComplexPairTy ComplexExprEmitter::EmitCast(CastExpr::CastKind CK, Expr *Op, in EmitCast()
DCGExprAgg.cpp596 static Expr *findPeephole(Expr *op, CastKind kind) { in findPeephole()
666 CastKind peepholeTarget = in VisitCastExpr()
DCGObjC.cpp1204 CastKind argCK = CK_NoOp; in generateObjCSetterBody()
DCGExprScalar.cpp1190 CastKind Kind = CE->getCastKind(); in VisitCastExpr()
/external/clang/include/clang/Sema/
DSema.h1832 CastKind PrepareCastToObjCObjectPointer(ExprResult &E);
1834 CastKind &Kind,
1841 CastKind &Kind,
3226 CastKind PrepareScalarCast(ExprResult &src, QualType destType);
6609 ExprResult ImpCastExprToType(Expr *E, QualType Type, CastKind CK,
6617 static CastKind ScalarTypeToBooleanCastKind(QualType ScalarTy);
6798 CastKind &Kind);
6946 Expr *CastExpr, CastKind &CastKind,
6963 CastKind &Kind);
6971 CastKind &Kind);
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp586 CastKind Kind, Expr *E) { in NoTypeInfoCStyleCastExpr()
2708 CastKind CK = CK_BitCast; in RewriteObjCBoxedExpr()
3505 CastKind CK = recExpr->getType()->isObjCObjectPointerType() in SynthMessageExpr()
3542 CastKind CK; in SynthMessageExpr()
3565 CastKind CK; in SynthMessageExpr()
4953 CastKind CastKind = IC->getCastKind(); in RewriteImplicitCastObjCExpr() local
4954 if (CastKind != CK_BlockPointerToObjCPointerCast && in RewriteImplicitCastObjCExpr()
4955 CastKind != CK_AnyPointerToBlockPointerCast) in RewriteImplicitCastObjCExpr()
DRewriteObjC.cpp499 CastKind Kind, Expr *E) { in NoTypeInfoCStyleCastExpr()
1714 CastKind CK = syncExpr->getType()->isObjCObjectPointerType() in RewriteObjCSynchronizedStmt()
2898 CastKind CK = recExpr->getType()->isObjCObjectPointerType() in SynthMessageExpr()
2935 CastKind CK; in SynthMessageExpr()
2958 CastKind CK; in SynthMessageExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp553 E->setCastKind((CastExpr::CastKind)Record[Idx++]); in VisitCastExpr()