/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | RedundantBranchConditionCheck.cpp | 86 dyn_cast<BinaryOperator>(InnerIf->getCond()->IgnoreParenImpCasts()); in check() 88 if (isa<DeclRefExpr>(InnerIf->getCond()->IgnoreParenImpCasts()) || in check() 95 dyn_cast<DeclRefExpr>(BinOpCond->getLHS()->IgnoreParenImpCasts()); in check() 135 cast<BinaryOperator>(InnerIf->getCond()->IgnoreParenImpCasts()); in check() 137 dyn_cast<DeclRefExpr>(CondOp->getLHS()->IgnoreParenImpCasts()); in check()
|
D | StringIntegerAssignmentCheck.cpp | 55 const auto *LHS = BinOp->getLHS()->IgnoreParenImpCasts(); in isLikelyCharExpression() 56 const auto *RHS = BinOp->getRHS()->IgnoreParenImpCasts(); in isLikelyCharExpression() 71 CondOp->getFalseExpr()->IgnoreParenImpCasts()) || in isLikelyCharExpression() 73 CondOp->getTrueExpr()->IgnoreParenImpCasts()); in isLikelyCharExpression()
|
D | TooSmallLoopVariableCheck.cpp | 116 const Expr *RHSE = BinOperator->getRHS()->IgnoreParenImpCasts(); in calcUpperBoundMagnitudeBits() 117 const Expr *LHSE = BinOperator->getLHS()->IgnoreParenImpCasts(); in calcUpperBoundMagnitudeBits() 150 Result.Nodes.getNodeAs<Expr>(LoopUpperBoundName)->IgnoreParenImpCasts(); in check() 152 Result.Nodes.getNodeAs<Expr>(LoopIncrementName)->IgnoreParenImpCasts(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 199 return dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts()); in getDeclRef() 293 if (areSameExpr(Context, SourceExpr->IgnoreParenImpCasts(), in isIndexInSubscriptExpr() 294 Obj->IgnoreParenImpCasts())) in isIndexInSubscriptExpr() 297 if (const Expr *InnerObj = getDereferenceOperand(Obj->IgnoreParenImpCasts())) in isIndexInSubscriptExpr() 298 if (PermitDeref && areSameExpr(Context, SourceExpr->IgnoreParenImpCasts(), in isIndexInSubscriptExpr() 299 InnerObj->IgnoreParenImpCasts())) in isIndexInSubscriptExpr() 358 const Expr *Init = VDecl->getInit()->IgnoreParenImpCasts(); in isAliasDecl() 479 const Expr *Node = E->IgnoreParenImpCasts(); in addComponent() 546 dyn_cast<CXXOperatorCallExpr>(Base->IgnoreParenImpCasts())) { in TraverseMemberExpr() 602 dyn_cast<MemberExpr>(MemberCall->getCallee()->IgnoreParenImpCasts()); in TraverseCXXMemberCallExpr() [all …]
|
D | UseDefaultMemberInitCheck.cpp | 146 return InitList->getInit(0)->IgnoreParenImpCasts(); in getInitializer() 151 E1 = ignoreUnaryPlus(getInitializer(E1->IgnoreParenImpCasts())); in sameValue() 152 E2 = ignoreUnaryPlus(getInitializer(E2->IgnoreParenImpCasts())); in sameValue()
|
D | LoopConvertCheck.cpp | 410 if (const auto *Mem = dyn_cast<MemberExpr>(E->IgnoreParenImpCasts())) in getReferencedVariable() 418 if (const auto *Member = dyn_cast<MemberExpr>(E->IgnoreParenImpCasts())) in isDirectMemberExpr() 419 return isa<CXXThisExpr>(Member->getBase()->IgnoreParenImpCasts()); in isDirectMemberExpr() 724 ContainerExpr = ContainerExpr->IgnoreParenImpCasts(); in getContainerString() 945 ComponentFinder.findExprComponents(ContainerExpr->IgnoreParenImpCasts()); in check() 957 ContainerExpr = Finder.getContainerIndexed()->IgnoreParenImpCasts(); in check()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | SourceCodeBuilders.cpp | 79 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildDereference() 100 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildAddressOf() 120 const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts(); in buildDot() 144 const Expr *SubExpr = Op->getSubExpr()->IgnoreParenImpCasts(); in buildArrow()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringSyntaxChecker.cpp | 159 const auto *DstArgDRE = dyn_cast<DeclRefExpr>(DstArg->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern() 181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() 189 dyn_cast<BinaryOperator>(DstArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() 190 DstArgDRE = dyn_cast<DeclRefExpr>(BE->getLHS()->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern() 192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern()
|
D | MallocOverflowSecurityChecker.cpp | 80 e = e->IgnoreParenImpCasts(); in CheckMallocArgument() 162 const Expr *E = E_p->IgnoreParenImpCasts(); in CheckExpr() 189 const Expr *rhse = rhs->IgnoreParenImpCasts(); in CheckAssignmentExpr() 192 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 198 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 212 const Expr *E = lhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
|
D | ConversionChecker.cpp | 60 if (!isa<DeclRefExpr>(Cast->IgnoreParenImpCasts())) in checkPreStmt() 135 QualType SubType = Cast->IgnoreParenImpCasts()->getType(); in isLossOfPrecision() 187 QualType SubType = Cast->IgnoreParenImpCasts()->getType(); in isLossOfSign()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 81 e = e->IgnoreParenImpCasts(); in CheckMallocArgument() 163 const Expr *E = E_p->IgnoreParenImpCasts(); in CheckExpr() 190 const Expr *rhse = rhs->IgnoreParenImpCasts(); in CheckAssignmentExpr() 193 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 196 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 210 const Expr *E = lhs->IgnoreParenImpCasts(); in CheckAssignmentExpr()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | ExplicitMakePairCheck.cpp | 49 const Expr *Arg0 = Call->getArg(0)->IgnoreParenImpCasts(); in check() 50 const Expr *Arg1 = Call->getArg(1)->IgnoreParenImpCasts(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | PreferMemberInitializerCheck.cpp | 64 const auto *ME = dyn_cast<MemberExpr>(BO->getLHS()->IgnoreParenImpCasts()); in isAssignmentToMemberOf() 73 return std::make_pair(Field, BO->getRHS()->IgnoreParenImpCasts()); in isAssignmentToMemberOf() 79 dyn_cast<MemberExpr>(COCE->getArg(0)->IgnoreParenImpCasts()); in isAssignmentToMemberOf() 88 return std::make_pair(Field, COCE->getArg(1)->IgnoreParenImpCasts()); in isAssignmentToMemberOf()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationAdditionCheck.cpp | 49 if (Call == Binop->getLHS()->IgnoreParenImpCasts()) { in check() 57 assert(Call == Binop->getRHS()->IgnoreParenImpCasts() && in check()
|
D | DurationUnnecessaryConversionCheck.cpp | 90 if (LHS->IgnoreParenImpCasts() == InnerCall) { in check() 97 assert(RHS->IgnoreParenImpCasts() == InnerCall && in check()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 181 Expr *base = inner->IgnoreParenImpCasts(); in transformNonObjCToObjCCast() 183 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast() 285 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges() 435 if (arg == E || arg->IgnoreParenImpCasts() == E) in isPassedToCParamWithKnownOwnership()
|
D | TransRetainReleaseDealloc.cpp | 86 rec = rec->IgnoreParenImpCasts(); in VisitObjCMessageExpr() 378 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC() 380 Rec = FE->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
|
D | TransGCCalls.cpp | 45 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
|
/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 182 Expr *base = inner->IgnoreParenImpCasts(); in transformNonObjCToObjCCast() 184 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast() 288 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges() 438 if (arg == E || arg->IgnoreParenImpCasts() == E) in isPassedToCParamWithKnownOwnership()
|
D | TransRetainReleaseDealloc.cpp | 85 rec = rec->IgnoreParenImpCasts(); in VisitObjCMessageExpr() 374 Rec = Init->IgnoreParenImpCasts(); in checkForGCDOrXPC() 376 Rec = EWC->getSubExpr()->IgnoreParenImpCasts(); in checkForGCDOrXPC()
|
D | TransGCCalls.cpp | 46 Expr *CEE = E->getCallee()->IgnoreParenImpCasts(); in VisitCallExpr()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MisplacedArrayIndexCheck.cpp | 40 const Expr *RHSE = ArraySubscriptE->getRHS()->IgnoreParenImpCasts(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | TwineLocalCheck.cpp | 42 C = cast<CXXConstructExpr>(C)->getArg(0)->IgnoreParenImpCasts(); in check()
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 497 Expr *Base = E->getBase()->IgnoreParenImpCasts(); in ClassifyMemberExpr() 562 bool TrueIsThrow = isa<CXXThrowExpr>(True->IgnoreParenImpCasts()); in ClassifyConditional() 563 bool FalseIsThrow = isa<CXXThrowExpr>(False->IgnoreParenImpCasts()); in ClassifyConditional() 591 if (CE->getSubExpr()->IgnoreParenImpCasts()->isLValue()) { in IsModifiable()
|
/external/clang/lib/Sema/ |
D | SemaOpenMP.cpp | 3670 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective() 3697 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective() 3767 E = E->IgnoreParenImpCasts(); in ActOnOpenMPDeclareSimdDirective() 4032 NewLB = CE->getArg(0)->IgnoreParenImpCasts(); in SetLCDeclAndLB() 4141 isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in CheckInit() 4169 isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in CheckInit() 4195 E = CE->getArg(0)->IgnoreParenImpCasts(); in GetInitLCDecl() 4205 if (ME->isArrow() && isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts())) in GetInitLCDecl() 4271 RHS = RHS->IgnoreParenImpCasts(); in CheckIncRHS() 6119 AtomicBinOp->getRHS()->IgnoreParenImpCasts())) { in checkBinaryOperation() [all …]
|