Home
last modified time | relevance | path

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

12

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp88 Head = Ex->IgnoreParenCasts(); in RunAnalysis()
95 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); in RunAnalysis()
106 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); in RunAnalysis()
141 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); in RunAnalysis()
185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); in RunAnalysis()
DThreadSafety.cpp634 Expr *LHSExp = BO->getLHS()->IgnoreParenCasts(); in VisitBinaryOperator()
1113 Exp = UO->getSubExpr()->IgnoreParenCasts(); in checkDereference()
1336 Expr *SubExp = UO->getSubExpr()->IgnoreParenCasts(); in VisitUnaryOperator()
1356 Expr *LHSExp = BO->getLHS()->IgnoreParenCasts(); in VisitBinaryOperator()
1367 Expr *SubExp = CE->getSubExpr()->IgnoreParenCasts(); in VisitCastExpr()
DUninitializedValues.cpp407 if (DeclRefExpr *dr = dyn_cast<DeclRefExpr>(ex->IgnoreParenCasts())) in findBlockVarDecl()
/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()
111 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) { in containsBadStrncatPattern()
120 if (isSizeof(L, DstArg) && isOne(R->IgnoreParenCasts())) in containsBadStrncatPattern()
DDeadStoresChecker.cpp74 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignments()
181 const Expr *RHS = B->getRHS()->IgnoreParenCasts(); in isIncrement()
189 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
193 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement()
226 RHS = RHS->IgnoreParenCasts(); in observeStmt()
249 const Expr *Ex = U->getSubExpr()->IgnoreParenCasts(); in observeStmt()
300 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in observeStmt()
349 Expr *E = U->getSubExpr()->IgnoreParenCasts(); in VisitUnaryOperator()
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.cpp56 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
60 Ex = B->getRHS()->IgnoreParenCasts(); in checkPostStmt()
DDereferenceChecker.cpp136 AddDerefSource(os, Ranges, AE->getBase()->IgnoreParenCasts(), in checkLocation()
157 AddDerefSource(os, Ranges, M->getBase()->IgnoreParenCasts(), in checkLocation()
165 dyn_cast<DeclRefExpr>(IV->getBase()->IgnoreParenCasts())) { in checkLocation()
DIdempotentOperationChecker.cpp467 LHS = LHS->IgnoreParenCasts(); in isSelfAssign()
468 RHS = RHS->IgnoreParenCasts(); in isSelfAssign()
495 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in isUnused()
514 const DeclRefExpr *LHS_DR = dyn_cast<DeclRefExpr>(LHS->IgnoreParenCasts()); in isTruncationExtensionAssignment()
522 const DeclRefExpr *RHS_DR = dyn_cast<DeclRefExpr>(RHS->IgnoreParenCasts()); in isTruncationExtensionAssignment()
621 Ex = Ex->IgnoreParenCasts(); in CanVary()
DCheckObjCDealloc.cpp61 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release()
69 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release()
82 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParenCasts())) in scan_ivar_release()
DCheckSecuritySyntaxOnly.cpp183 expr = expr->IgnoreParenCasts(); in getIncrementedVar()
232 condition = condition->IgnoreParenCasts(); in checkLoopConditionForFloat()
233 increment = increment->IgnoreParenCasts(); in checkLoopConditionForFloat()
DMacOSKeychainAPIChecker.cpp173 E = E->IgnoreParenCasts(); in isEnclosingFunctionParam()
383 const Expr *DeallocatorExpr = CE->getArg(5)->IgnoreParenCasts(); in checkPreStmt()
DMallocChecker.cpp1228 const Expr *ArgE = Call->getArg(i)->IgnoreParenCasts(); in doesNotFreeMemory()
1258 dyn_cast<DeclRefExpr>(Call->getArg(0)->IgnoreParenCasts())) in doesNotFreeMemory()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp48 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
DTransAutoreleasePool.cpp55 Expr *instance = E->getInstanceReceiver()->IgnoreParenCasts(); in VisitObjCMessageExpr()
308 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
408 S = E->IgnoreParenCasts(); in getEssential()
DTransUnbridgedCasts.cpp113 Expr *inner = E->IgnoreParenCasts(); in transformNonObjCToObjCCast()
277 E = E->IgnoreParenCasts(); in getFamilyOfMessage()
DTransAPIUses.cpp72 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr()
DTransZeroOutPropsInDealloc.cpp52 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
DTransforms.cpp111 E = E->IgnoreParenCasts(); in hasSideEffects()
137 E = E->IgnoreParenCasts(); in isGlobalVar()
DTransRetainReleaseDealloc.cpp242 E = E->IgnoreParenCasts(); in isDelegateMessage()
DTransProperties.cpp313 ME = dyn_cast<ObjCMessageExpr>(E->getRHS()->IgnoreParenCasts())) in VisitBinAssign()
/external/clang/lib/Sema/
DSemaChecking.cpp72 Arg = Arg->IgnoreParenCasts(); in CheckBuiltinAnnotationString()
491 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded()
813 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded()
1138 Arg = Arg->IgnoreParenCasts(); in CheckObjCString()
1207 const Expr *Arg = TheCall->getArg(1)->IgnoreParenCasts(); in SemaBuiltinVAStart()
1439 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg()
1497 E = E->IgnoreParenCasts(); in SemaCheckStringLiteral()
1710 const Expr *OrigFormatExpr = Args[format_idx]->IgnoreParenCasts(); in CheckFormatArguments()
2808 Ex = Ex->IgnoreParenCasts(); in ignoreLiteralAdditions()
2815 const Expr *RHS = BO->getRHS()->IgnoreParenCasts(); in ignoreLiteralAdditions()
[all …]
DSemaFixItUtils.cpp101 if (Expr->IgnoreParenCasts()-> in tryToFixConversion()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp39 return U->getSubExpr()->IgnoreParenCasts(); in GetDerefExpr()
42 return ME->getBase()->IgnoreParenCasts(); in GetDerefExpr()
562 Ex = Ex->IgnoreParenCasts(); in patternMatch()
/external/clang/lib/AST/
DExpr.cpp872 CEE = NTTP->getReplacement()->IgnoreParenCasts(); in getCalleeDecl()
878 CEE = BO->getRHS()->IgnoreParenCasts(); in getCalleeDecl()
881 CEE = UO->getSubExpr()->IgnoreParenCasts(); in getCalleeDecl()
2024 Expr *Expr::IgnoreParenCasts() { in IgnoreParenCasts() function in Expr
2602 E = E->IgnoreParenCasts(); in getObjCProperty()

12