Home
last modified time | relevance | path

Searched refs:ImplicitCastExpr (Results 1 – 25 of 60) sorted by relevance

123

/external/clang/lib/Analysis/
DBodyFarm.cpp67 ImplicitCastExpr *makeIntegralCastToBoolean(const Expr *Arg);
70 ImplicitCastExpr *makeLvalueToRvalue(const Expr *Arg, QualType Ty);
127 ImplicitCastExpr *ASTMaker::makeLvalueToRvalue(const Expr *Arg, QualType Ty) { in makeLvalueToRvalue()
128 return ImplicitCastExpr::Create(C, Ty, CK_LValueToRValue, in makeLvalueToRvalue()
136 return ImplicitCastExpr::Create(C, Ty, CK_IntegralCast, in makeIntegralCast()
140 ImplicitCastExpr *ASTMaker::makeIntegralCastToBoolean(const Expr *Arg) { in makeIntegralCastToBoolean()
141 return ImplicitCastExpr::Create(C, C.BoolTy, CK_IntegralToBoolean, in makeIntegralCastToBoolean()
206 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); in create_dispatch_once()
228 ImplicitCastExpr *LValToRval = in create_dispatch_once()
268 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); in create_dispatch_sync()
DThreadSafety.cpp1090 if (const auto *CE = dyn_cast<ImplicitCastExpr>(Exp)) in getValueDecl()
1318 } else if (ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E)) { in getStaticBooleanValue()
1340 else if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(Cond)) { in getTrylockCallExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp33 class DynamicTypeChecker : public Checker<check::PostStmt<ImplicitCastExpr>> {
67 void checkPostStmt(const ImplicitCastExpr *CE, CheckerContext &C) const;
136 } else if (const auto *ImplicitCast = dyn_cast<ImplicitCastExpr>(S)) { in VisitNode()
163 void DynamicTypeChecker::checkPostStmt(const ImplicitCastExpr *CE, in checkPostStmt()
DLLVMConventionsChecker.cpp167 ImplicitCastExpr *Ex3 = dyn_cast<ImplicitCastExpr>(Ex2->getArg(0)); in VisitVarDecl()
173 ImplicitCastExpr *Ex5 = dyn_cast<ImplicitCastExpr>(Ex4->getArg(0)); in VisitVarDecl()
DTestAfterDivZeroChecker.cpp236 if (const ImplicitCastExpr *I = in checkBranchCondition()
237 dyn_cast<ImplicitCastExpr>(U->getSubExpr())) in checkBranchCondition()
248 } else if (const ImplicitCastExpr *IE = in checkBranchCondition()
249 dyn_cast<ImplicitCastExpr>(Condition)) { in checkBranchCondition()
DMallocSizeofChecker.cpp120 void VisitImplicitCastExpr(const ImplicitCastExpr *E) { in VisitImplicitCastExpr()
DStackAddrEscapeChecker.cpp161 if (auto *ICE = dyn_cast<ImplicitCastExpr>(RetE)) { in checkPreStmt()
/external/clang/lib/CodeGen/
DCGCUDARuntime.cpp41 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E->getCallee())) { in EmitCUDAKernelCallExpr()
DCGObjC.cpp283 const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(receiver); in shouldExtendReceiverForInnerPointerMessage()
1269 ImplicitCastExpr selfLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
1279 ImplicitCastExpr argLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
1302 ImplicitCastExpr argCast(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
DCGClass.cpp1249 if (ImplicitCastExpr *EC = dyn_cast<ImplicitCastExpr>(RHS)) in getMemcpyableField()
1276 if (ImplicitCastExpr *DC = dyn_cast<ImplicitCastExpr>(DstPtr)) in getMemcpyableField()
1288 if (ImplicitCastExpr *SC = dyn_cast<ImplicitCastExpr>(SrcPtr)) in getMemcpyableField()
/external/clang/lib/AST/
DExpr.cpp133 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E)) in isKnownToHaveBooleanValue()
1248 const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(getCallee()); in getBuiltinCallee()
1634 } while ((E = dyn_cast<ImplicitCastExpr>(SubExpr))); in getSubExprAsWritten()
1652 ImplicitCastExpr *ImplicitCastExpr::Create(const ASTContext &C, QualType T, in Create()
1658 ImplicitCastExpr *E = in Create()
1659 new (Buffer) ImplicitCastExpr(T, Kind, Operand, PathSize, VK); in Create()
1666 ImplicitCastExpr *ImplicitCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty()
1669 return new (Buffer) ImplicitCastExpr(EmptyShell(), PathSize); in CreateEmpty()
2194 const CastExpr *ICE = cast<ImplicitCastExpr>(this); in isUnusedResultAWarning()
2236 return cast<ImplicitCastExpr>(E)->getSubExpr()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
[all …]
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp161 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in transformNonObjCToObjCCast()
396 if (ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(subExpr)) { in transformObjCToNonObjCCast()
DTransforms.cpp112 const ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(E); in isPlusOne()
114 implCE = dyn_cast<ImplicitCastExpr>(implCE->getSubExpr()); in isPlusOne()
DTransBlockObjCVariable.cpp51 bool TraverseImplicitCastExpr(ImplicitCastExpr *castE) { in TraverseImplicitCastExpr()
DTransRetainReleaseDealloc.cpp430 if (ImplicitCastExpr *castE = dyn_cast_or_null<ImplicitCastExpr>(parent)) in tryRemoving()
/external/clang/docs/
DIntroductionToTheClangAST.rst61 | |-ImplicitCastExpr 0x5aeacb0 <col:17> 'int' <LValueToRValue>
65 `-ImplicitCastExpr 0x5aead50 <col:10> 'int' <LValueToRValue>
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp945 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in objectifyExpr()
999 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in rewriteToNumericBoxedExpression()
/external/clang/include/clang/AST/
DExpr.h2734 class ImplicitCastExpr final
2736 private llvm::TrailingObjects<ImplicitCastExpr, CXXBaseSpecifier *> {
2738 ImplicitCastExpr(QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr() function
2744 explicit ImplicitCastExpr(EmptyShell Shell, unsigned PathSize) in ImplicitCastExpr() function
2749 ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr() function
2754 static ImplicitCastExpr *Create(const ASTContext &Context, QualType T,
2759 static ImplicitCastExpr *CreateEmpty(const ASTContext &Context,
2779 while (ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e)) in IgnoreImpCasts()
/external/clang/lib/Sema/
DSema.cpp396 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in ImpCastExprToType()
404 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK); in ImpCastExprToType()
DSemaChecking.cpp1213 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) in CheckNeonBuiltinFunctionCall()
3364 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(OrigArg)) { in SemaBuiltinFPClassification()
3867 E = cast<ImplicitCastExpr>(E)->getSubExpr(); in checkFormatStringExpr()
5138 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in checkFormatExpr()
6760 const ImplicitCastExpr *IE = cast<ImplicitCastExpr>(E); in EvalVal()
7124 if (const auto *CE = dyn_cast<ImplicitCastExpr>(E)) { in GetExprRange()
7392 while (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in HasEnumType()
7947 if (!isa<ImplicitCastExpr>(Ex)) in IsImplicitBoolFloatConversion()
8045 if (auto ICE = dyn_cast<ImplicitCastExpr>(Element)) { in checkObjCCollectionLiteralElement()
8292 if (isa<ImplicitCastExpr>(LastA) && in CheckImplicitConversion()
[all …]
DSemaLambda.cpp540 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in findEnumForBlockReturn()
606 E = ImplicitCastExpr::Create(S.Context, returnType, CK_IntegralCast, in adjustBlockReturnsToEnum()
DSemaExprObjC.cpp4084 castExpr = ImplicitCastExpr::Create(Context, castExpr->getType(), in CheckObjCARCConversion()
4191 assert(isa<ImplicitCastExpr>(e) && "bad form of unbridged cast!"); in stripARCUnbridgedCast()
4192 return cast<ImplicitCastExpr>(e)->getSubExpr(); in stripARCUnbridgedCast()
4220 if (ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e)) in maybeUndoReclaimObject()
4291 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast()
4331 Result = ImplicitCastExpr::Create(Context, T, CK_ARCConsumeObject, Result, in BuildObjCBridgedCast()
/external/clang/lib/Index/
DIndexBody.cpp61 if (auto ICE = dyn_cast<ImplicitCastExpr>(*It)) { in getRolesForRef()
/external/clang/include/clang/Basic/
DStmtNodes.td78 def ImplicitCastExpr : DStmt<CastExpr>;
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2101 ImplicitCastExpr *ICE = in SynthesizeCallToFunctionDecl()
2102 ImplicitCastExpr::Create(*Context, pToFunc, CK_FunctionToPointerDecay, in SynthesizeCallToFunctionDecl()
2652 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(subExpr)) { in RewriteObjCBoxedExpr()
3436 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(userExpr)) { in SynthMessageExpr()
4571 else if (const ImplicitCastExpr *IEXPR = dyn_cast<ImplicitCastExpr>(BlockExp)) in SynthesizeBlockCall()
5657 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
5662 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()

123