/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 89 Head = Ex->IgnoreParenCasts(); in RunAnalysis() 96 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); in RunAnalysis() 107 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); in RunAnalysis() 142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); in RunAnalysis() 186 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringSyntaxChecker.cpp | 39 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts())) in sameDecl() 40 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts())) in sameDecl() 74 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 | 107 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignmentsAndCommaOperators() 236 const Expr *RHS = B->getRHS()->IgnoreParenCasts(); in isIncrement() 244 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement() 248 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement() 275 RHS = RHS->IgnoreParenCasts(); in observeStmt() 305 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt() 356 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in observeStmt() 407 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 | UndefResultChecker.cpp | 66 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt() 70 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
|
D | IdempotentOperationChecker.cpp | 471 LHS = LHS->IgnoreParenCasts(); in isSelfAssign() 472 RHS = RHS->IgnoreParenCasts(); in isSelfAssign() 499 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in isUnused() 518 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS->IgnoreParenCasts()); in isTruncationExtensionAssignment() 526 const DeclRefExpr *RHS_DR = dyn_cast<DeclRefExpr>(RHS->IgnoreParenCasts()); in isTruncationExtensionAssignment() 622 Ex = Ex->IgnoreParenCasts(); in CanVary()
|
D | CheckObjCDealloc.cpp | 62 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release() 70 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release() 83 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParenCasts())) in scan_ivar_release()
|
D | DereferenceChecker.cpp | 128 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in reportBug() 145 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in reportBug() 154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
|
D | IvarInvalidationChecker.cpp | 604 E = E->IgnoreParenCasts(); in peel() 606 E = POE->getSyntacticForm()->IgnoreParenCasts(); in peel() 608 E = OVE->getSourceExpr()->IgnoreParenCasts(); in peel() 729 check(Receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
|
D | CheckSecuritySyntaxOnly.cpp | 177 expr = expr->IgnoreParenCasts(); in getIncrementedVar() 226 condition = condition->IgnoreParenCasts(); in checkLoopConditionForFloat() 227 increment = increment->IgnoreParenCasts(); in checkLoopConditionForFloat()
|
D | DirectIvarAssignment.cpp | 184 dyn_cast<ObjCIvarRefExpr>(BO->getLHS()->IgnoreParenCasts()); in VisitBinaryOperator()
|
D | MacOSKeychainAPIChecker.cpp | 164 E = E->IgnoreParenCasts(); in REGISTER_MAP_WITH_PROGRAMSTATE() 378 const Expr *DeallocatorExpr = CE->getArg(5)->IgnoreParenCasts(); in checkPreStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 49 E = E->IgnoreParenCasts(); in getDerefExpr() 54 E = B->getLHS()->IgnoreParenCasts(); in getDerefExpr() 59 return U->getSubExpr()->IgnoreParenCasts(); in getDerefExpr() 63 return ME->getBase()->IgnoreParenCasts(); in getDerefExpr() 71 return IvarRef->getBase()->IgnoreParenCasts(); in getDerefExpr() 278 RetE = RetE->IgnoreParenCasts(); in visitNodeInitial() 538 InitE = InitE->IgnoreParenCasts(); in VisitNode() 542 ReturnVisitor::addVisitorIfNecessary(StoreSite, InitE->IgnoreParenCasts(), in VisitNode() 864 Ex = Ex->IgnoreParenCasts(); in peelOffOuterExpr() 903 Ex = Ex->IgnoreParenCasts(); in trackNullOrUndefValue() [all …]
|
/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 46 E = E->IgnoreParenCasts(); in getBaseInfo() 134 E = E->IgnoreParenCasts(); in markSafeWeakUse()
|
D | SemaChecking.cpp | 86 Expr *StrArg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinAnnotation() 467 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall() 878 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded() 1212 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded() 1546 Arg = Arg->IgnoreParenCasts(); in CheckObjCString() 1615 const Expr *Arg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinVAStart() 1866 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg() 1942 E = E->IgnoreParenCasts(); in checkFormatStringExpr() 2182 const Expr *OrigFormatExpr = Args[format_idx]->IgnoreParenCasts(); in CheckFormatArguments() 3679 Ex = Ex->IgnoreParenCasts(); in ignoreLiteralAdditions() [all …]
|
D | SemaFixItUtils.cpp | 102 if (Expr->IgnoreParenCasts()-> in tryToFixConversion()
|
D | SemaExpr.cpp | 474 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts())) in CheckForNullPointerDereference() 476 UO->getSubExpr()->IgnoreParenCasts()-> in CheckForNullPointerDereference() 584 if (const ObjCIsaExpr *OISA = dyn_cast<ObjCIsaExpr>(E->IgnoreParenCasts())) { in DefaultLvalueConversion() 597 dyn_cast<ObjCIvarRefExpr>(E->IgnoreParenCasts())) in DefaultLvalueConversion() 7401 Other = Other->IgnoreParenCasts(); in diagnoseObjCLiteralComparison() 7549 LHSStripped = LHSStripped->IgnoreParenCasts(); in CheckCompareOperands() 7551 RHSStripped = RHSStripped->IgnoreParenCasts(); in CheckCompareOperands() 8115 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() 8278 const Expr *InnerLHS = LHSExpr->IgnoreParenCasts(); in CheckAssignmentOperands() 8697 QualType OpOrigType = Op->IgnoreParenCasts()->getType(); in CheckIndirectionOperand() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
|
D | Transforms.cpp | 84 ME = dyn_cast<ObjCMessageExpr>(E->IgnoreParenCasts())) in isPlusOne() 89 callE = dyn_cast<CallExpr>(E->IgnoreParenCasts())) { in isPlusOne() 172 E = E->IgnoreParenCasts(); in hasSideEffects() 198 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 | TransAPIUses.cpp | 73 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr()
|
D | TransRetainReleaseDealloc.cpp | 299 E = E->IgnoreParenCasts(); in getReferencedDecl() 404 E = E->IgnoreParenCasts(); in isDelegateMessage()
|
D | TransUnbridgedCasts.cpp | 126 Expr *inner = E->IgnoreParenCasts(); in transformNonObjCToObjCCast() 402 E = E->IgnoreParenCasts(); in getFamilyOfMessage()
|
D | TransZeroOutPropsInDealloc.cpp | 53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck() 445 E = E->IgnoreParenCasts(); in getNSArrayObjects()
|