Home
last modified time | relevance | path

Searched refs:IgnoreParens (Results 1 – 25 of 63) sorted by relevance

123

/external/clang/lib/Analysis/
DLiveVariables.cpp234 S = Ex->IgnoreParens(); in LookThroughStmt()
307 child = child->IgnoreParens(); in Visit()
340 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
394 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
417 val.liveStmts = LV.SSetFact.add(val.liveStmts, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr()
438 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
527 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
DCFG.cpp458 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
503 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
504 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
542 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
543 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
559 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
560 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
619 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
621 dyn_cast<BinaryOperator>(B->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
632 dyn_cast<IntegerLiteral>(LHS->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
[all …]
DAnalysisDeclContext.cpp151 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
159 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
DConsumed.cpp469 return PropagationMap.find(E->IgnoreParens()); in findInfo()
472 return PropagationMap.find(E->IgnoreParens()); in findInfo()
475 PropagationMap.insert(PairType(E->IgnoreParens(), PI)); in insertInfo()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp26 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
27 Expr *RHS = B->getRHS()->IgnoreParens(); in VisitBinaryOperator()
671 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr()
680 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr()
779 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
797 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
824 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
836 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
895 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
DEnvironment.cpp25 E = E->IgnoreParens(); in ignoreTransparentExprs()
DExprEngine.cpp199 const Expr *Inner = Ex->IgnoreParens(); in createTemporaryRegionIfNeeded()
208 Inner = CE->getSubExpr()->IgnoreParens(); in createTemporaryRegionIfNeeded()
679 assert(!isa<Expr>(S) || S == cast<Expr>(S)->IgnoreParens()); in Visit()
1370 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf()
1393 Condition = Ex->IgnoreParens(); in ResolveCondition()
1446 Condition = Ex->IgnoreParens(); in processBranch()
1786 const Expr *Base = A->getBase()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1787 const Expr *Idx = A->getIdx()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
DProgramState.cpp655 S = E->IgnoreParens(); in addTaint()
690 S = E->IgnoreParens(); in isTainted()
DSValBuilder.cpp230 E = E->IgnoreParens(); in getConstantVal()
DExprEngineCXX.cpp29 const Expr *tempExpr = ME->GetTemporaryExpr()->IgnoreParens(); in CreateCXXTemporaryObject()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp153 E = E->IgnoreParens(); in isZeroingPropIvar()
199 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSizeofPointer.cpp62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens())) in VisitUnaryExprOrTypeTraitExpr()
DStackAddrEscapeChecker.cpp125 RetE = RetE->IgnoreParens(); in checkPreStmt()
DDereferenceChecker.cpp136 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), in reportBug()
DCallAndMessageChecker.cpp301 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
DGenericTaintChecker.cpp429 SVal AddrVal = State->getSVal(Arg->IgnoreParens(), C.getLocationContext()); in getPointedToSymbol()
/external/clang/lib/AST/
DExpr.cpp59 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments()
113 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1895 Init = Init->IgnoreParens(); in isStringLiteralInit()
2029 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2224 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2285 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2336 expr = expr->IgnoreParens(); in findBoundMemberType()
2353 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
2387 E = E->IgnoreParens(); in IgnoreParenCasts()
2434 E = E->IgnoreParens(); in IgnoreParenLValueCasts()
[all …]
DExprClassification.cpp226 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
459 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
578 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
DComment.cpp243 TL = TL.IgnoreParens(); in fill()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp673 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1491 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1519 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1551 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()
1573 Expr *opaqueRef = E->IgnoreParens(); in stripOpaqueValuesFromPseudoObjectRef()
DSemaExceptionSpec.cpp298 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec()
910 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
DSema.cpp1244 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens()); in tryExprAsCall()
1292 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall()
DSemaExpr.cpp1418 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
1438 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
3450 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3465 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3540 E = E->IgnoreParens(); in CheckAlignOfExpr()
3597 E = E->IgnoreParens(); in CheckVecStepExpr()
4559 Expr *NakedFn = Fn->IgnoreParens(); in ActOnCallExpr()
4564 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
7725 Expr *Inner = cast<ObjCBoxedExpr>(FromE)->getSubExpr()->IgnoreParens(); in CheckLiteralKind()
8460 E = E->IgnoreParens(); in isReferenceToNonConstCapture()
[all …]
/external/clang/lib/CodeGen/
DCGExprAgg.cpp552 op = op->IgnoreParens(); in findPeephole()
780 E = E->IgnoreParens(); in isBlockVarRef()
1012 E = E->IgnoreParens(); in isSimpleZero()
1264 E = E->IgnoreParens(); in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp78 const Expr *callee = CE->getCallee()->IgnoreParens(); in EmitCXXMemberCallExpr()
237 cast<BinaryOperator>(E->getCallee()->IgnoreParens()); in EmitCXXMemberPointerCallExpr()
1628 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) in EmitTypeidFromVTable()

123