/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 67 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() 267 ImplicitCastExpr *ICE = M.makeLvalueToRvalue(DR, Ty); in create_dispatch_sync()
|
D | ThreadSafety.cpp | 1090 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/ |
D | DynamicTypeChecker.cpp | 33 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()
|
D | LLVMConventionsChecker.cpp | 167 ImplicitCastExpr *Ex3 = dyn_cast<ImplicitCastExpr>(Ex2->getArg(0)); in VisitVarDecl() 173 ImplicitCastExpr *Ex5 = dyn_cast<ImplicitCastExpr>(Ex4->getArg(0)); in VisitVarDecl()
|
D | TestAfterDivZeroChecker.cpp | 236 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()
|
D | MallocSizeofChecker.cpp | 120 void VisitImplicitCastExpr(const ImplicitCastExpr *E) { in VisitImplicitCastExpr()
|
D | StackAddrEscapeChecker.cpp | 161 if (auto *ICE = dyn_cast<ImplicitCastExpr>(RetE)) { in checkPreStmt()
|
/external/clang/lib/CodeGen/ |
D | CGCUDARuntime.cpp | 41 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E->getCallee())) { in EmitCUDAKernelCallExpr()
|
D | CGObjC.cpp | 283 const ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(receiver); in shouldExtendReceiverForInnerPointerMessage() 1275 ImplicitCastExpr selfLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody() 1285 ImplicitCastExpr argLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody() 1308 ImplicitCastExpr argCast(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
|
D | CGClass.cpp | 1252 if (ImplicitCastExpr *EC = dyn_cast<ImplicitCastExpr>(RHS)) in getMemcpyableField() 1279 if (ImplicitCastExpr *DC = dyn_cast<ImplicitCastExpr>(DstPtr)) in getMemcpyableField() 1291 if (ImplicitCastExpr *SC = dyn_cast<ImplicitCastExpr>(SrcPtr)) in getMemcpyableField()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 133 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E)) in isKnownToHaveBooleanValue() 1260 const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(getCallee()); in getBuiltinCallee() 1751 } while ((E = dyn_cast<ImplicitCastExpr>(SubExpr))); in getSubExprAsWritten() 1774 ImplicitCastExpr *ImplicitCastExpr::Create(const ASTContext &C, QualType T, in Create() 1780 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in Create() 1781 ImplicitCastExpr *E = in Create() 1782 new (Buffer) ImplicitCastExpr(T, Kind, Operand, PathSize, VK); in Create() 1787 ImplicitCastExpr *ImplicitCastExpr::CreateEmpty(const ASTContext &C, in CreateEmpty() 1790 C.Allocate(sizeof(ImplicitCastExpr) + PathSize * sizeof(CXXBaseSpecifier*)); in CreateEmpty() 1791 return new (Buffer) ImplicitCastExpr(EmptyShell(), PathSize); in CreateEmpty() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 161 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in transformNonObjCToObjCCast() 396 if (ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(subExpr)) { in transformObjCToNonObjCCast()
|
D | Transforms.cpp | 112 const ImplicitCastExpr *implCE = dyn_cast<ImplicitCastExpr>(E); in isPlusOne() 114 implCE = dyn_cast<ImplicitCastExpr>(implCE->getSubExpr()); in isPlusOne()
|
D | TransBlockObjCVariable.cpp | 51 bool TraverseImplicitCastExpr(ImplicitCastExpr *castE) { in TraverseImplicitCastExpr()
|
D | TransRetainReleaseDealloc.cpp | 430 if (ImplicitCastExpr *castE = dyn_cast_or_null<ImplicitCastExpr>(parent)) in tryRemoving()
|
/external/clang/docs/ |
D | IntroductionToTheClangAST.rst | 61 | |-ImplicitCastExpr 0x5aeacb0 <col:17> 'int' <LValueToRValue> 65 `-ImplicitCastExpr 0x5aead50 <col:10> 'int' <LValueToRValue>
|
D | HowToSetupToolingForLLVM.rst | 127 (ImplicitCastExpr 0x44d96d0 <line:65:9> '_Bool':'_Bool' <UserDefinedConversion>
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 945 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in objectifyExpr() 999 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) { in rewriteToNumericBoxedExpression()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 713 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg)) in CheckNeonBuiltinFunctionCall() 2632 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(OrigArg)) { in SemaBuiltinFPClassification() 3058 E = cast<ImplicitCastExpr>(E)->getSubExpr(); in checkFormatStringExpr() 4254 if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in checkFormatExpr() 5869 ImplicitCastExpr *IE = cast<ImplicitCastExpr>(E); in EvalVal() 6231 if (ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E)) { in GetExprRange() 6498 while (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in HasEnumType() 6996 if (!isa<ImplicitCastExpr>(Ex)) in IsImplicitBoolFloatConversion() 7082 if (auto ICE = dyn_cast<ImplicitCastExpr>(Element)) { in checkObjCCollectionLiteralElement() 7312 if (isa<ImplicitCastExpr>(LastA) && (InnerType == Target)) { in CheckImplicitConversion() [all …]
|
D | Sema.cpp | 397 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in ImpCastExprToType() 405 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK); in ImpCastExprToType()
|
D | SemaLambda.cpp | 539 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in findEnumForBlockReturn() 605 E = ImplicitCastExpr::Create(S.Context, returnType, CK_IntegralCast, in adjustBlockReturnsToEnum()
|
D | SemaExprObjC.cpp | 4038 castExpr = ImplicitCastExpr::Create(Context, castExpr->getType(), in CheckObjCARCConversion() 4142 assert(isa<ImplicitCastExpr>(e) && "bad form of unbridged cast!"); in stripARCUnbridgedCast() 4143 return cast<ImplicitCastExpr>(e)->getSubExpr(); in stripARCUnbridgedCast() 4171 if (ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e)) in maybeUndoReclaimObject() 4242 SubExpr = ImplicitCastExpr::Create(Context, FromType, in BuildObjCBridgedCast() 4282 Result = ImplicitCastExpr::Create(Context, T, CK_ARCConsumeObject, Result, in BuildObjCBridgedCast()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2810 class ImplicitCastExpr : public CastExpr { 2812 ImplicitCastExpr(QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr() function 2818 explicit ImplicitCastExpr(EmptyShell Shell, unsigned PathSize) in ImplicitCastExpr() function 2823 ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op, in ImplicitCastExpr() function 2828 static ImplicitCastExpr *Create(const ASTContext &Context, QualType T, 2833 static ImplicitCastExpr *CreateEmpty(const ASTContext &Context, 2850 while (ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e)) in IgnoreImpCasts()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 78 def ImplicitCastExpr : DStmt<CastExpr>;
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2128 ImplicitCastExpr *ICE = in SynthesizeCallToFunctionDecl() 2129 ImplicitCastExpr::Create(*Context, pToFunc, CK_FunctionToPointerDecay, in SynthesizeCallToFunctionDecl() 2679 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(subExpr)) { in RewriteObjCBoxedExpr() 3469 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(userExpr)) { in SynthMessageExpr() 4640 else if (const ImplicitCastExpr *IEXPR = dyn_cast<ImplicitCastExpr>(BlockExp)) in SynthesizeBlockCall() 5735 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer() 5740 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(S)) { in RewriteFunctionBodyOrGlobalInitializer()
|