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.cpp176 stmt = e->IgnoreParens(); in registerForcedBlockExpression()
184 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()
694 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr()
703 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr()
802 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
820 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
847 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
859 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator()
918 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
DEnvironment.cpp25 E = E->IgnoreParens(); in ignoreTransparentExprs()
DExprEngine.cpp209 const Expr *Inner = Ex->IgnoreParens(); in createTemporaryRegionIfNeeded()
218 Inner = CE->getSubExpr()->IgnoreParens(); in createTemporaryRegionIfNeeded()
751 assert(!isa<Expr>(S) || S == cast<Expr>(S)->IgnoreParens()); in Visit()
1509 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf()
1532 Condition = Ex->IgnoreParens(); in ResolveCondition()
1583 Condition = Ex->IgnoreParens(); in processBranch()
1950 const Expr *Base = A->getBase()->IgnoreParens(); in VisitLvalArraySubscriptExpr()
1951 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()
1292 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType()
1395 E = E->IgnoreParens(); in UnaryExprOrTypeTraitExpr()
1982 Init = Init->IgnoreParens(); in isStringLiteralInit()
2119 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
2319 dyn_cast<DeclRefExpr>(CE->getSubExpr()->IgnoreParens()); in isUnusedResultAWarning()
2380 const Expr *E = IgnoreParens(); in isOBJCGCCandidate()
2431 expr = expr->IgnoreParens(); in findBoundMemberType()
2448 Expr* Expr::IgnoreParens() { in IgnoreParens() function in Expr
[all …]
DExprClassification.cpp233 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal()
470 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr()
589 dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
DComment.cpp240 TL = TL.IgnoreParens(); in fill()
DASTDiagnostic.cpp1027 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in NeedsAddressOf()
1326 UnaryOperator *UO = dyn_cast<UnaryOperator>(ArgExpr->IgnoreParens()); in GetValueDecl()
1383 DeclRefExpr *FromDRE = dyn_cast<DeclRefExpr>(FromExpr->IgnoreParens()), in IsEqualExpr()
1384 *ToDRE = dyn_cast<DeclRefExpr>(ToExpr->IgnoreParens()); in IsEqualExpr()
DTypeLoc.cpp384 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.cpp142 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), in reportBug()
DCallAndMessageChecker.cpp308 const Expr *Callee = CE->getCallee()->IgnoreParens(); in checkPreStmt()
/external/clang/lib/Sema/
DSemaPseudoObject.cpp707 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject()
1438 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty()
1441 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty()
1528 Expr *opaqueRef = E->IgnoreParens(); in checkPseudoObjectRValue()
1560 Expr *opaqueRef = op->IgnoreParens(); in checkPseudoObjectIncDec()
1596 Expr *opaqueRef = LHS->IgnoreParens(); in checkPseudoObjectAssignment()
DSemaExceptionSpec.cpp343 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec()
978 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
DSema.cpp1320 Overloads = dyn_cast<UnresolvedMemberExpr>(E.IgnoreParens()); in tryExprAsCall()
1368 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall()
DSemaExpr.cpp1459 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
1478 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr()
3594 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3609 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand()
3684 E = E->IgnoreParens(); in CheckAlignOfExpr()
3741 E = E->IgnoreParens(); in CheckVecStepExpr()
3906 auto *BaseNoParens = Base->IgnoreParens(); in isMSPropertySubscriptExpr()
4949 Expr *NakedFn = Fn->IgnoreParens(); in ActOnCallExpr()
4954 NakedFn = UnOp->getSubExpr()->IgnoreParens(); in ActOnCallExpr()
8477 Expr *Inner = cast<ObjCBoxedExpr>(FromE)->getSubExpr()->IgnoreParens(); in CheckLiteralKind()
[all …]
/external/clang/lib/CodeGen/
DCGExprAgg.cpp563 op = op->IgnoreParens(); in findPeephole()
797 E = E->IgnoreParens(); in isBlockVarRef()
1031 E = E->IgnoreParens(); in isSimpleZero()
1302 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()
2414 e = e->IgnoreParens(); in tryEmitARCRetainLoadOfScalar()
2503 e = e->IgnoreParens(); in shouldEmitSeparateBlockRetain()
2599 e = e->IgnoreParens(); in tryEmitARCRetainScalarExpr()

123