Home
last modified time | relevance | path

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

123

/external/clang/lib/Analysis/
DLiveVariables.cpp233 S = Ex->IgnoreParens(); in LookThroughStmt()
306 child = child->IgnoreParens(); in Visit()
339 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
390 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
413 val.liveStmts = LV.SSetFact.add(val.liveStmts, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr()
434 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
523 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
DCFG.cpp528 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
573 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
574 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
612 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
613 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
629 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
630 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
689 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
691 dyn_cast<BinaryOperator>(B->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
702 dyn_cast<IntegerLiteral>(LHS->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
[all …]
DAnalysisDeclContext.cpp159 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
167 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.cpp208 const Expr *Inner = Ex->IgnoreParens(); in createTemporaryRegionIfNeeded()
217 Inner = CE->getSubExpr()->IgnoreParens(); in createTemporaryRegionIfNeeded()
746 assert(!isa<Expr>(S) || S == cast<Expr>(S)->IgnoreParens()); in Visit()
1462 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf()
1485 Condition = Ex->IgnoreParens(); in ResolveCondition()
1537 Condition = Ex->IgnoreParens(); in processBranch()
1896 const Expr *Base = A->getBase()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1897 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()
/external/clang/lib/AST/
DExpr.cpp59 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments()
113 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1255 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType()
1358 E = E->IgnoreParens(); in UnaryExprOrTypeTraitExpr()
1945 Init = Init->IgnoreParens(); in isStringLiteralInit()
2079 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2279 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2340 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2391 expr = expr->IgnoreParens(); in findBoundMemberType()
2408 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
[all …]
DExprClassification.cpp228 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
462 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
581 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
DASTDiagnostic.cpp965 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in NeedsAddressOf()
1264 UnaryOperator *UO = dyn_cast<UnaryOperator>(ArgExpr->IgnoreParens()); in GetValueDecl()
1321 DeclRefExpr *FromDRE = dyn_cast<DeclRefExpr>(FromExpr->IgnoreParens()), in IsEqualExpr()
1322 *ToDRE = dyn_cast<DeclRefExpr>(ToExpr->IgnoreParens()); in IsEqualExpr()
DComment.cpp240 TL = TL.IgnoreParens(); in fill()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp675 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1495 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1523 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1555 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()
1577 Expr *opaqueRef = E->IgnoreParens(); in stripOpaqueValuesFromPseudoObjectRef()
DSemaExceptionSpec.cpp319 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec()
951 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
DSema.cpp1267 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens()); in tryExprAsCall()
1315 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp557 op = op->IgnoreParens(); in findPeephole()
785 E = E->IgnoreParens(); in isBlockVarRef()
1019 E = E->IgnoreParens(); in isSimpleZero()
1281 E = E->IgnoreParens(); in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp108 const Expr *callee = CE->getCallee()->IgnoreParens(); in EmitCXXMemberCallExpr()
287 cast<BinaryOperator>(E->getCallee()->IgnoreParens()); in EmitCXXMemberPointerCallExpr()
1638 E = E->IgnoreParens(); in isGLValueFromPointerDeref()
/external/clang/include/clang/AST/
DTypeLoc.h152 TypeLoc IgnoreParens() const;
974 inline TypeLoc TypeLoc::IgnoreParens() const { in IgnoreParens() function

123