Home
last modified time | relevance | path

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

123

/external/clang/lib/Analysis/
DLiveVariables.cpp233 S = Ex->IgnoreParens(); in LookThroughStmt()
306 child = child->IgnoreParens(); in Visit()
338 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator()
389 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt()
412 val.liveStmts = LV.SSetFact.add(val.liveStmts, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr()
433 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator()
522 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
DCFG.cpp45 E = E->IgnoreParens(); in tryTransformToIntOrEnumConstant()
600 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt()
645 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
646 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
684 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
685 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
701 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
702 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
761 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
763 dyn_cast<BinaryOperator>(B->getRHS()->IgnoreParens()); in checkIncorrectLogicOperator()
[all …]
DAnalysisDeclContext.cpp186 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
194 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
DConsumed.cpp472 return PropagationMap.find(E->IgnoreParens()); in findInfo()
478 return PropagationMap.find(E->IgnoreParens()); in findInfo()
481 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()
705 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr()
714 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr()
813 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
831 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
858 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
870 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
929 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
DEnvironment.cpp25 E = E->IgnoreParens(); in ignoreTransparentExprs()
DExprEngine.cpp210 const Expr *Inner = Ex->IgnoreParens(); in createTemporaryRegionIfNeeded()
219 Inner = CE->getSubExpr()->IgnoreParens(); in createTemporaryRegionIfNeeded()
752 assert(!isa<Expr>(S) || S == cast<Expr>(S)->IgnoreParens()); in Visit()
1525 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf()
1548 Condition = Ex->IgnoreParens(); in ResolveCondition()
1599 Condition = Ex->IgnoreParens(); in processBranch()
1974 const Expr *Base = A->getBase()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1975 const Expr *Idx = A->getIdx()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
DProgramState.cpp655 S = E->IgnoreParens(); in addTaint()
690 S = E->IgnoreParens(); in isTainted()
DSValBuilder.cpp247 E = E->IgnoreParens(); in getConstantVal()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp153 E = E->IgnoreParens(); in isZeroingPropIvar()
199 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
/external/clang/lib/AST/
DExpr.cpp59 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments()
113 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue()
1280 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType()
1381 E = E->IgnoreParens(); in UnaryExprOrTypeTraitExpr()
1829 Init = Init->IgnoreParens(); in isStringLiteralInit()
1966 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2166 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2227 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2278 expr = expr->IgnoreParens(); in findBoundMemberType()
2295 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
[all …]
DExprClassification.cpp233 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
471 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
590 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
DComment.cpp240 TL = TL.IgnoreParens(); in fill()
DTypeLoc.cpp376 TypeLoc loc = IgnoreParens(); in findExplicitQualifierLoc()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSizeofPointer.cpp62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens())) in VisitUnaryExprOrTypeTraitExpr()
DStackAddrEscapeChecker.cpp125 RetE = RetE->IgnoreParens(); in checkPreStmt()
DDereferenceChecker.cpp151 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), in reportBug()
DCallAndMessageChecker.cpp308 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp708 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1439 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty()
1442 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty()
1529 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1561 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1597 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()
DSemaOpenMP.cpp1074 auto *DRE = cast<DeclRefExpr>(DE->IgnoreParens()); in EndOpenMPDSABlock()
1518 if (isa<CXXThisExpr>(E->getBase()->IgnoreParens())) { in VisitMemberExpr()
4014 return E->IgnoreParens(); in getExprAsWritten()
4129 S = E->IgnoreParens(); in CheckInit()
4132 auto *LHS = BO->getLHS()->IgnoreParens(); in CheckInit()
4319 S = S->IgnoreParens(); in CheckInc()
8154 RefExpr = RefExpr->IgnoreParens(); in getPrivateItem()
8299 DSAStack->addDSA(D, RefExpr->IgnoreParens(), OMPC_private, Ref); in ActOnOpenMPPrivateClause()
8301 ? RefExpr->IgnoreParens() in ActOnOpenMPPrivateClause()
8606 DSAStack->addDSA(D, RefExpr->IgnoreParens(), OMPC_firstprivate, Ref); in ActOnOpenMPFirstprivateClause()
[all …]
DSemaExceptionSpec.cpp349 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec()
984 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
DSemaExpr.cpp1521 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
1540 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
3670 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3685 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3760 E = E->IgnoreParens(); in CheckAlignOfExpr()
3817 E = E->IgnoreParens(); in CheckVecStepExpr()
4128 auto *BaseNoParens = Base->IgnoreParens(); in isMSPropertySubscriptExpr()
5204 Expr *NakedFn = Fn->IgnoreParens(); in ActOnCallExpr()
5211 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
8913 Expr *Inner = cast<ObjCBoxedExpr>(FromE)->getSubExpr()->IgnoreParens(); in CheckLiteralKind()
[all …]
DSema.cpp1313 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens()); in tryExprAsCall()
1361 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp564 op = op->IgnoreParens(); in findPeephole()
799 E = E->IgnoreParens(); in isBlockVarRef()
1038 E = E->IgnoreParens(); in isSimpleZero()
1335 E = E->IgnoreParens(); in GetNumNonZeroBytesInInit()
DCGObjC.cpp280 receiver = opaque->getSourceExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage()
285 receiver = ice->getSubExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage()
290 receiver = opaque->getSourceExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage()
330 E = E->IgnoreParens(); in findWeakLValue()
2425 e = e->IgnoreParens(); in tryEmitARCRetainLoadOfScalar()
2550 e = e->IgnoreParens(); in shouldEmitSeparateBlockRetain()
2789 e = e->IgnoreParens(); in visit()

123