Home
last modified time | relevance | path

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

12

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp89 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/
DCStringSyntaxChecker.cpp39 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()
DDeadStoresChecker.cpp107 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 ()()
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()
DUndefResultChecker.cpp66 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
70 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
DIdempotentOperationChecker.cpp471 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()
DCheckObjCDealloc.cpp62 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()
DDereferenceChecker.cpp128 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()
DIvarInvalidationChecker.cpp604 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()
DCheckSecuritySyntaxOnly.cpp177 expr = expr->IgnoreParenCasts(); in getIncrementedVar()
226 condition = condition->IgnoreParenCasts(); in checkLoopConditionForFloat()
227 increment = increment->IgnoreParenCasts(); in checkLoopConditionForFloat()
DDirectIvarAssignment.cpp184 dyn_cast<ObjCIvarRefExpr>(BO->getLHS()->IgnoreParenCasts()); in VisitBinaryOperator()
DMacOSKeychainAPIChecker.cpp164 E = E->IgnoreParenCasts(); in REGISTER_MAP_WITH_PROGRAMSTATE()
378 const Expr *DeallocatorExpr = CE->getArg(5)->IgnoreParenCasts(); in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp49 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/
DScopeInfo.cpp46 E = E->IgnoreParenCasts(); in getBaseInfo()
134 E = E->IgnoreParenCasts(); in markSafeWeakUse()
DSemaChecking.cpp86 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 …]
DSemaFixItUtils.cpp102 if (Expr->IgnoreParenCasts()-> in tryToFixConversion()
DSemaExpr.cpp474 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/
DTransARCAssign.cpp49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
DTransforms.cpp84 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()
DTransAutoreleasePool.cpp56 Expr *instance = E->getInstanceReceiver()->IgnoreParenCasts(); in VisitObjCMessageExpr()
309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
409 S = E->IgnoreParenCasts(); in getEssential()
DTransAPIUses.cpp73 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr()
DTransRetainReleaseDealloc.cpp299 E = E->IgnoreParenCasts(); in getReferencedDecl()
404 E = E->IgnoreParenCasts(); in isDelegateMessage()
DTransUnbridgedCasts.cpp126 Expr *inner = E->IgnoreParenCasts(); in transformNonObjCToObjCCast()
402 E = E->IgnoreParenCasts(); in getFamilyOfMessage()
DTransZeroOutPropsInDealloc.cpp53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck()
445 E = E->IgnoreParenCasts(); in getNSArrayObjects()

12