Searched refs:ContainerExpr (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertCheck.cpp | 470 static bool containerIsConst(const Expr *ContainerExpr, bool Dereference) { in containerIsConst() argument 471 if (const auto *VDec = getReferencedVariable(ContainerExpr)) { in containerIsConst() 722 const Expr *ContainerExpr) { in getContainerString() argument 724 ContainerExpr = ContainerExpr->IgnoreParenImpCasts(); in getContainerString() 725 if (isa<CXXThisExpr>(ContainerExpr)) { in getContainerString() 730 if (const auto* E = dyn_cast<CXXOperatorCallExpr>(ContainerExpr)) in getContainerString() 731 ContainerExpr = E->getArg(0); in getContainerString() 734 ContainerExpr->getSourceRange()); in getContainerString() 744 const Expr *ContainerExpr, in getArrayLoopQualifiers() argument 750 containerIsConst(ContainerExpr, Descriptor.ContainerNeedsDereference)) { in getArrayLoopQualifiers() [all …]
|
D | LoopConvertUtils.cpp | 452 const Expr *ContainerExpr, in ForLoopIndexUseVisitor() argument 456 ContainerExpr(ContainerExpr), ArrayBoundExpr(ArrayBoundExpr), in ForLoopIndexUseVisitor() 462 if (ContainerExpr) in ForLoopIndexUseVisitor() 463 addComponent(ContainerExpr); in ForLoopIndexUseVisitor() 468 return OnlyUsedAsIndex && ContainerExpr; in findAndVerifyUsages() 612 Member->getBase(), ContainerExpr, in TraverseCXXMemberCallExpr() 658 OpCall->getArg(0), ContainerExpr, in TraverseCXXOperatorCallExpr() 695 if ((ContainerExpr && in TraverseArraySubscriptExpr() 697 ContainerExpr->IgnoreParenImpCasts())) || in TraverseArraySubscriptExpr() 706 if (!ContainerExpr) in TraverseArraySubscriptExpr() [all …]
|
D | LoopConvertCheck.h | 52 const Expr *ContainerExpr); 56 const Expr *ContainerExpr, 67 const Expr *ContainerExpr,
|
D | LoopConvertUtils.h | 292 const VarDecl *EndVar, const Expr *ContainerExpr, 320 const Expr *getContainerIndexed() const { return ContainerExpr; } in getContainerIndexed() 370 const Expr *ContainerExpr; variable
|