/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 87 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()
|
D | ReachableCode.cpp | 42 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/ |
D | CStringSyntaxChecker.cpp | 40 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()
|
D | DeadStoresChecker.cpp | 106 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 ()()
|
D | ObjCContainersASTChecker.cpp | 109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr() 117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr() 121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
|
D | DereferenceChecker.cpp | 135 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()
|
D | UndefResultChecker.cpp | 67 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt() 71 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
|
D | IvarInvalidationChecker.cpp | 591 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()
|
D | CheckSecuritySyntaxOnly.cpp | 187 expr = expr->IgnoreParenCasts(); in getIncrementedVar() 236 condition = condition->IgnoreParenCasts(); in checkLoopConditionForFloat() 237 increment = increment->IgnoreParenCasts(); in checkLoopConditionForFloat()
|
D | DirectIvarAssignment.cpp | 170 dyn_cast<ObjCIvarRefExpr>(BO->getLHS()->IgnoreParenCasts()); in VisitBinaryOperator()
|
D | MacOSKeychainAPIChecker.cpp | 162 E = E->IgnoreParenCasts(); in REGISTER_MAP_WITH_PROGRAMSTATE() 376 const Expr *DeallocatorExpr = CE->getArg(5)->IgnoreParenCasts(); in checkPreStmt()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 72 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/ |
D | BugReporterVisitors.cpp | 50 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/ |
D | b_frontend_action.cc | 284 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/ |
D | Transforms.cpp | 86 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()
|
D | TransAutoreleasePool.cpp | 56 Expr *instance = E->getInstanceReceiver()->IgnoreParenCasts(); in VisitObjCMessageExpr() 309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope() 409 S = E->IgnoreParenCasts(); in getEssential()
|
D | TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
|
D | TransAPIUses.cpp | 72 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr()
|
D | TransRetainReleaseDealloc.cpp | 289 E = E->IgnoreParenCasts(); in getReferencedDecl() 394 E = E->IgnoreParenCasts(); in isDelegateMessage()
|
D | TransUnbridgedCasts.cpp | 134 Expr *inner = E->IgnoreParenCasts(); in transformNonObjCToObjCCast() 410 E = E->IgnoreParenCasts(); in getFamilyOfMessage()
|
D | TransZeroOutPropsInDealloc.cpp | 53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
|
/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 60 E = E->IgnoreParenCasts(); in getBaseInfo() 164 E = E->IgnoreParenCasts(); in markSafeWeakUse()
|
D | SemaChecking.cpp | 90 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 …]
|
D | SemaFixItUtils.cpp | 102 if (Expr->IgnoreParenCasts()-> in tryToFixConversion()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck() 445 E = E->IgnoreParenCasts(); in getNSArrayObjects()
|