Home
last modified time | relevance | path

Searched refs:ImplicitCastExpr (Results 1 – 25 of 58) 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()
267 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()
1275 ImplicitCastExpr selfLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
1285 ImplicitCastExpr argLoad(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
1308 ImplicitCastExpr argCast(ImplicitCastExpr::OnStack, in generateObjCSetterBody()
DCGClass.cpp1252 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/
DExpr.cpp133 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/
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>
DHowToSetupToolingForLLVM.rst127 (ImplicitCastExpr 0x44d96d0 <line:65:9> '_Bool':'_Bool' <UserDefinedConversion>
/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/lib/Sema/
DSemaChecking.cpp713 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 …]
DSema.cpp397 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) { in ImpCastExprToType()
405 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK); in ImpCastExprToType()
DSemaLambda.cpp539 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(E)) { in findEnumForBlockReturn()
605 E = ImplicitCastExpr::Create(S.Context, returnType, CK_IntegralCast, in adjustBlockReturnsToEnum()
DSemaExprObjC.cpp4038 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/
DExpr.h2810 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/
DStmtNodes.td78 def ImplicitCastExpr : DStmt<CastExpr>;
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp2128 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()

123