Home
last modified time | relevance | path

Searched refs:IgnoreParenCasts (Results 1 – 25 of 51) sorted by relevance

123

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp87 Head = Ex->IgnoreParenCasts(); in RunAnalysis()
94 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); in RunAnalysis()
105 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); in RunAnalysis()
140 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); in RunAnalysis()
183 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
DReachableCode.cpp42 Ex = Ex->IgnoreParenCasts(); in isTrivialExpression()
54 const Expr *Cond = DS->getCond()->IgnoreParenCasts(); in isTrivialDoWhile()
75 RE = RE->IgnoreParenCasts(); in isDeadReturn()
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringSyntaxChecker.cpp40 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts())) in sameDecl()
41 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts())) in sameDecl()
75 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in getPrintableName()
112 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) { in containsBadStrncatPattern()
121 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
DDeadStoresChecker.cpp106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignmentsAndCommaOperators()
239 const Expr *RHS = B->getRHS()->IgnoreParenCasts(); in isIncrement()
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement()
278 RHS = RHS->IgnoreParenCasts(); in observeStmt()
310 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt()
361 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in observeStmt()
417 const Expr *E = U->getSubExpr()->IgnoreParenCasts(); in operator ()()
DObjCContainersASTChecker.cpp109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
DDereferenceChecker.cpp135 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
143 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug()
160 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug()
169 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
DUndefResultChecker.cpp67 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
71 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
DIvarInvalidationChecker.cpp591 E = E->IgnoreParenCasts(); in peel()
593 E = POE->getSyntacticForm()->IgnoreParenCasts(); in peel()
595 E = OVE->getSourceExpr()->IgnoreParenCasts(); in peel()
716 check(Receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
DCheckSecuritySyntaxOnly.cpp187 expr = expr->IgnoreParenCasts(); in getIncrementedVar()
236 condition = condition->IgnoreParenCasts(); in checkLoopConditionForFloat()
237 increment = increment->IgnoreParenCasts(); in checkLoopConditionForFloat()
DDirectIvarAssignment.cpp170 dyn_cast<ObjCIvarRefExpr>(BO->getLHS()->IgnoreParenCasts()); in VisitBinaryOperator()
DMacOSKeychainAPIChecker.cpp162 E = E->IgnoreParenCasts(); in REGISTER_MAP_WITH_PROGRAMSTATE()
376 const Expr *DeallocatorExpr = CE->getArg(5)->IgnoreParenCasts(); in checkPreStmt()
/external/clang/lib/Index/
DIndexBody.cpp72 if (BO->getOpcode() == BO_Assign && BO->getLHS()->IgnoreParenCasts() == E) in getRolesForRef()
84 if (CA->getLHS()->IgnoreParenCasts() == E) { in getRolesForRef()
90 if (CE->getCallee()->IgnoreParenCasts() == E) { in getRolesForRef()
104 if (CXXOp->getNumArgs() > 0 && CXXOp->getArg(0)->IgnoreParenCasts() == E) { in getRolesForRef()
170 MsgE->getInstanceReceiver()->IgnoreParenCasts())) { in VisitObjCMessageExpr()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp50 E = E->IgnoreParenCasts(); in getDerefExpr()
55 E = B->getLHS()->IgnoreParenCasts(); in getDerefExpr()
60 return U->getSubExpr()->IgnoreParenCasts(); in getDerefExpr()
64 return ME->getBase()->IgnoreParenCasts(); in getDerefExpr()
72 return IvarRef->getBase()->IgnoreParenCasts(); in getDerefExpr()
275 RetE = RetE->IgnoreParenCasts(); in visitNodeInitial()
538 InitE = InitE->IgnoreParenCasts(); in VisitNode()
542 ReturnVisitor::addVisitorIfNecessary(StoreSite, InitE->IgnoreParenCasts(), in VisitNode()
909 Ex = Ex->IgnoreParenCasts(); in peelOffOuterExpr()
957 Ex = Ex->IgnoreParenCasts(); in trackNullOrUndefValue()
[all …]
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc284 if (E->IgnoreParenCasts()->getStmtClass() == Stmt::CallExprClass) { in assignsExtPtr()
285 CallExpr *Call = dyn_cast<CallExpr>(E->IgnoreParenCasts()); in assignsExtPtr()
338 const Expr *E = Call->getArg(2)->IgnoreParenCasts(); in VisitCallExpr()
471 if (base->IgnoreParenCasts()->getStmtClass() == Stmt::CallExprClass) { in VisitMemberExpr()
472 CallExpr *Call = dyn_cast<CallExpr>(base->IgnoreParenCasts()); in VisitMemberExpr()
547 if (E->IgnoreParenCasts()->getStmtClass() != Stmt::MemberExprClass) in isMemberDereference()
549 for (MemberExpr *M = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); M; in isMemberDereference()
550 M = dyn_cast<MemberExpr>(M->getBase()->IgnoreParenCasts())) { in isMemberDereference()
564 Expr *Ex = E->IgnoreParenCasts(); in IsContextMemberExpr()
568 Ex = dyn_cast<ArraySubscriptExpr>(Ex)->getBase()->IgnoreParenCasts(); in IsContextMemberExpr()
[all …]
/external/clang/lib/ARCMigrate/
DTransforms.cpp86 ME = dyn_cast<ObjCMessageExpr>(E->IgnoreParenCasts())) in isPlusOne()
91 callE = dyn_cast<CallExpr>(E->IgnoreParenCasts())) { in isPlusOne()
177 E = E->IgnoreParenCasts(); in hasSideEffects()
203 E = E->IgnoreParenCasts(); in isGlobalVar()
DTransAutoreleasePool.cpp56 Expr *instance = E->getInstanceReceiver()->IgnoreParenCasts(); in VisitObjCMessageExpr()
309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
409 S = E->IgnoreParenCasts(); in getEssential()
DTransARCAssign.cpp49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
DTransAPIUses.cpp72 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr()
DTransRetainReleaseDealloc.cpp289 E = E->IgnoreParenCasts(); in getReferencedDecl()
394 E = E->IgnoreParenCasts(); in isDelegateMessage()
DTransUnbridgedCasts.cpp134 Expr *inner = E->IgnoreParenCasts(); in transformNonObjCToObjCCast()
410 E = E->IgnoreParenCasts(); in getFamilyOfMessage()
DTransZeroOutPropsInDealloc.cpp53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
/external/clang/lib/Sema/
DScopeInfo.cpp60 E = E->IgnoreParenCasts(); in getBaseInfo()
164 E = E->IgnoreParenCasts(); in markSafeWeakUse()
DSemaChecking.cpp90 Expr *StrArg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinAnnotation()
255 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinSEHScopeCheck()
1266 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall()
2280 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded()
2652 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded()
3018 cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinNontemporalOverloaded()
3086 Arg = Arg->IgnoreParenCasts(); in CheckObjCString()
3156 const Expr *Arg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinVAStartImpl()
3570 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg()
3815 E = E->IgnoreParenCasts(); in checkFormatStringExpr()
[all …]
DSemaFixItUtils.cpp102 if (Expr->IgnoreParenCasts()-> in tryToFixConversion()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck()
445 E = E->IgnoreParenCasts(); in getNSArrayObjects()

123