/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaBPF.cpp | 35 return (Arg->IgnoreParens()->getObjectKind() == OK_BitField || in isValidPreserveFieldInfoArg() 36 isa<MemberExpr>(Arg->IgnoreParens()) || in isValidPreserveFieldInfoArg() 37 isa<ArraySubscriptExpr>(Arg->IgnoreParens())); in isValidPreserveFieldInfoArg() 50 if (!isa<DeclRefExpr>(Arg->IgnoreParens()) && in isValidPreserveTypeInfoArg() 51 !isa<UnaryOperator>(Arg->IgnoreParens())) in isValidPreserveTypeInfoArg() 80 const auto *UO = dyn_cast<UnaryOperator>(Arg->IgnoreParens()); in isValidPreserveEnumValueArg()
|
H A D | SemaPseudoObject.cpp | 722 refE = dyn_cast<ObjCPropertyRefExpr>(syntacticBase->IgnoreParens())) in rebuildAndCaptureObject() 1361 Expr *Base = E->getBase()->IgnoreParens(); in getBaseMSProperty() 1364 Base = MSPropSubscript->getBase()->IgnoreParens(); in getBaseMSProperty() 1451 Expr *opaqueRef = E->IgnoreParens(); in checkRValue() 1484 Expr *opaqueRef = op->IgnoreParens(); in checkIncDec() 1522 Expr *opaqueRef = LHS->IgnoreParens(); in checkAssignment()
|
H A D | SemaPPC.cpp | 30 const auto *ICE = dyn_cast<ImplicitCastExpr>(Arg->IgnoreParens()); in checkAIXMemberAlignment()
|
H A D | SemaOpenMP.cpp | 1268 return E->IgnoreParens(); in getExprAsWritten() 2900 auto *DRE = cast<DeclRefExpr>(DE->IgnoreParens()); in EndOpenMPDSABlock() 4016 ->IgnoreParens()); in VisitMemberExpr() 5162 RefExpr = RefExpr->IgnoreParens(); in getPrivateItem() 8079 if (isa<CXXThisExpr>(E->getBase()->IgnoreParens())) { in VisitMemberExpr() 8144 S = E->IgnoreParens(); in checkAndSetInit() 8147 Expr *LHS = BO->getLHS()->IgnoreParens(); in checkAndSetInit() 8344 S = S->IgnoreParens(); in checkAndSetInc() 11451 X = AtomicCompAssignOp->getLHS()->IgnoreParens(); in checkStatement() 11465 X = AtomicUnaryOp->getSubExpr()->IgnoreParens(); in checkStatement() [all …]
|
H A D | SemaExprObjC.cpp | 545 dyn_cast<StringLiteral>(CE->getSubExpr()->IgnoreParens())) { in BuildObjCBoxedExpr() 619 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr() 2514 const auto *SE = dyn_cast<ObjCSelectorExpr>(Args[0]->IgnoreParens()); in checkFoundationAPI() 3284 dyn_cast<ObjCSelectorExpr>(Args[0]->IgnoreParens())) { in BuildInstanceMessage() 3566 return super::Visit(e->IgnoreParens()); in Visit() 4525 CastExpr *realCast = cast<CastExpr>(e->IgnoreParens()); in diagnoseARCUnbridgedCast() 5225 Expr *Inner = cast<ObjCBoxedExpr>(FromE)->getSubExpr()->IgnoreParens(); in CheckLiteralKind()
|
H A D | SemaExpr.cpp | 1826 ControllingExpr = ControllingExpr->IgnoreParens(); in CreateGenericSelectionExpr() 4280 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() 4295 if (const auto *BO = dyn_cast<BinaryOperator>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() 4318 Expr *Inner = E->IgnoreParens(); in CheckAlignOfExpr() 4363 E = E->IgnoreParens(); in CheckVecStepExpr() 4762 auto *BaseNoParens = Base->IgnoreParens(); in isMSPropertySubscriptExpr() 5740 Fn = Fn->IgnoreParens(); in isParenthetizedAndQualifiedAddressOfExpr() 5745 if (auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) { in isParenthetizedAndQualifiedAddressOfExpr() 5748 if (auto *OVL = dyn_cast<OverloadExpr>(UO->getSubExpr()->IgnoreParens())) in isParenthetizedAndQualifiedAddressOfExpr() 6399 if (auto *DRE = dyn_cast<DeclRefExpr>(Fn->IgnoreParens()); in ActOnCallExpr() [all …]
|
H A D | SemaExceptionSpec.cpp | 462 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); in CheckEquivalentExceptionSpec() 1153 else if (isa<CXXPseudoDestructorExpr>(CE->getCallee()->IgnoreParens())) in canThrow()
|
H A D | SemaInit.cpp | 81 Init = Init->IgnoreParens(); in IsStringInit() 222 if (const StringLiteral *SL = dyn_cast<StringLiteral>(Str->IgnoreParens())) in CheckStringInit() 242 if (StringLiteral *SL = dyn_cast<StringLiteral>(Str->IgnoreParens())) { in CheckStringInit() 2011 ? dyn_cast_if_present<EmbedExpr>(ExprList[0]->IgnoreParens()) in canInitializeArrayWithEmbedDataString() 6019 e = e->IgnoreParens(); in isInvalidICRSource() 6450 isa<CompoundLiteralExpr>(Initializer->IgnoreParens()) && in InitializeFrom() 7329 dyn_cast<CXXConstructExpr>(InitExpr->IgnoreParens()); in CheckMoveOnConstruction() 7340 const CallExpr *CE = dyn_cast<CallExpr>(InitExpr->IgnoreParens()); in CheckMoveOnConstruction() 7375 const Expr *ArgStripped = Arg->IgnoreImplicit()->IgnoreParens(); in CheckMoveOnConstruction() 7756 if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) { in Perform() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ExprMutationAnalyzer.cpp | 41 dyn_cast_or_null<BinaryOperator>(Result->IgnoreParens())) { in canExprResolveTo() 59 if (const auto *TE = OP->getTrueExpr()->IgnoreParens()) in canExprResolveTo() 62 if (const auto *FE = OP->getFalseExpr()->IgnoreParens()) in canExprResolveTo() 71 if (const auto *TE = OP->getTrueExpr()->IgnoreParens()) in canExprResolveTo() 74 if (const auto *FE = OP->getFalseExpr()->IgnoreParens()) in canExprResolveTo() 81 const Expr *SourceExprP = Source->IgnoreParens(); in canExprResolveTo() 89 E->IgnoreParens(), [&](const Expr *EE) { return EE == Target; }); in canExprResolveTo()
|
H A D | LiveVariables.cpp | 197 E = Ex->IgnoreParens(); in LookThroughExpr() 270 child = child->IgnoreParens(); in Visit() 335 if (const auto *DR = dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParens())) { in VisitBinaryOperator() 344 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator() 425 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt() 448 val.liveExprs = LV.ESetFact.add(val.liveExprs, subEx->IgnoreParens()); in VisitUnaryExprOrTypeTraitExpr() 469 if (auto *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) { in VisitUnaryOperator()
|
H A D | CFG.cpp | 81 E = E->IgnoreParens(); in IsIntegerLiteralConstantExpr() 104 E = E->IgnoreParens(); in tryTransformToIntOrEnumConstant() 817 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S); in appendStmt() 926 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() 927 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() 965 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 966 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 983 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 984 const Expr *RHSExpr2 = BitOp->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 1024 if (const auto *UnOp = dyn_cast<UnaryOperator>(E->IgnoreParens())) { in getIntegerLiteralSubexpressionValue() [all …]
|
H A D | AnalysisDeclContext.cpp | 185 stmt = e->IgnoreParens(); in registerForcedBlockExpression() 193 stmt = e->IgnoreParens(); in getBlockForRegisteredExpression()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 44 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitBinaryOperator() 45 Expr *RHS = B->getRHS()->IgnoreParens(); in VisitBinaryOperator() 822 ValEx = ValEx->IgnoreParens(); in VisitGuardedExpr() 831 if (ValEx == L->IgnoreParens() || ValEx == R->IgnoreParens()) { in VisitGuardedExpr() 917 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in handleUOExtension() 942 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator() 960 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator() 976 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator() 1005 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitUnaryOperator() 1064 const Expr *Ex = U->getSubExpr()->IgnoreParens(); in VisitIncrementDecrementOperator()
|
H A D | ExprEngine.cpp | 1719 assert(!isa<Expr>(S) || S == cast<Expr>(S)->IgnoreParens()); in Visit() 2626 Condition = BO->getRHS()->IgnoreParens(); in getRightmostLeaf() 2649 Condition = Ex->IgnoreParens(); in ResolveCondition() 2775 Condition = Ex->IgnoreParens(); in processBranch() 3307 const Expr *Base = A->getBase()->IgnoreParens(); in VisitArraySubscriptExpr() 3308 const Expr *Idx = A->getIdx()->IgnoreParens(); in VisitArraySubscriptExpr()
|
H A D | CallEvent.cpp | 1055 const Expr *Syntactic = POE->getSyntacticForm()->IgnoreParens(); in getSyntacticFromForPseudoObjectExpr() 1060 Syntactic = BO->getLHS()->IgnoreParens(); in getSyntacticFromForPseudoObjectExpr()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 150 E = E->IgnoreParens(); in isZeroingPropIvar() 196 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 87 E = E->IgnoreParens(); in skipRValueSubobjectAdjustments() 137 const Expr *E = IgnoreParens(); in isKnownToHaveBooleanValue() 210 const Expr *E = IgnoreParens(); in isFlexibleArrayMemberLike() 1598 if (isa<CXXPseudoDestructorExpr>(Callee->IgnoreParens())) in getCallReturnType() 1601 if (isa<UnresolvedMemberExpr>(Callee->IgnoreParens())) in getCallReturnType() 2543 const Expr *E = IgnoreParens(); in isReadIfDiscardedInCPlusPlus11() 2674 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning() 2903 const Expr *SubE = CE->getSubExpr()->IgnoreParens(); in isUnusedResultAWarning() 2982 const Expr *E = IgnoreParens(); in isOBJCGCCandidate() 3033 expr = expr->IgnoreParens(); in findBoundMemberType() [all …]
|
H A D | ExprClassification.cpp | 280 const Expr *Op = cast<UnaryOperator>(E)->getSubExpr()->IgnoreParens(); in ClassifyInternal() 536 Expr *Base = E->getBase()->IgnoreParens(); in ClassifyMemberExpr() 659 if (const auto *CE = dyn_cast<ExplicitCastExpr>(E->IgnoreParens())) { in IsModifiable()
|
H A D | TypeLoc.cpp | 466 TypeLoc loc = IgnoreParens(); in findExplicitQualifierLoc()
|
H A D | ExprCXX.cpp | 170 E = E->IgnoreParens(); in isGLValueFromPointerDeref() 705 const Expr *Callee = getCallee()->IgnoreParens(); in getImplicitObjectArgument() 724 if (const auto *MemExpr = dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 251 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(E->IgnoreParens()); in dataTraverseStmtPre() 284 const BinaryOperator *BinOp = dyn_cast<BinaryOperator>(E->IgnoreParens()); in dataTraverseStmtPost() 1244 S = S->IgnoreParens(); in emitMCDCTestVectorBitmapUpdate() 1277 S = S->IgnoreParens(); in emitMCDCCondBitmapReset()
|
H A D | CGObjC.cpp | 302 receiver = opaque->getSourceExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage() 307 receiver = ice->getSubExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage() 312 receiver = opaque->getSourceExpr()->IgnoreParens(); in shouldExtendReceiverForInnerPointerMessage() 352 E = E->IgnoreParens(); in findWeakLValue() 2908 e = e->IgnoreParens(); in tryEmitARCRetainLoadOfScalar() 3059 e = e->IgnoreParens(); in shouldEmitSeparateBlockRetain() 3305 e = e->IgnoreParens(); in visit()
|
H A D | CGExprAgg.cpp | 1139 E = E->IgnoreParens(); in isBlockVarRef() 1521 E = E->IgnoreParens(); in isSimpleZero() 1525 E = CE->getSubExpr()->IgnoreParens(); in isSimpleZero()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 47 Current = Current->IgnoreParens(); in ignoreCFGOmittedNodes()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DereferenceChecker.cpp | 209 AddDerefSource(os, Ranges, U->getSubExpr()->IgnoreParens(), in reportBug()
|