Lines Matching refs:ContainerExpr

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()
820 LoopFixerKind FixerKind, const Expr *ContainerExpr, in determineRangeDescriptor() argument
823 std::string(getContainerString(Context, Loop, ContainerExpr)); in determineRangeDescriptor()
829 getArrayLoopQualifiers(Context, Nodes, ContainerExpr, Usages, Descriptor); in determineRangeDescriptor()
922 const Expr *ContainerExpr = nullptr; in check() local
924 ContainerExpr = findContainer( in check()
929 ContainerExpr = EndCall->getImplicitObjectArgument(); in check()
935 if (!ContainerExpr && !BoundExpr) in check()
938 ForLoopIndexUseVisitor Finder(Context, LoopVar, EndVar, ContainerExpr, in check()
943 if (ContainerExpr) { in check()
945 ComponentFinder.findExprComponents(ContainerExpr->IgnoreParenImpCasts()); in check()
957 ContainerExpr = Finder.getContainerIndexed()->IgnoreParenImpCasts(); in check()
962 if (!getReferencedVariable(ContainerExpr) && in check()
963 !isDirectMemberExpr(ContainerExpr)) in check()
970 determineRangeDescriptor(Context, Nodes, Loop, FixerKind, ContainerExpr, in check()
983 if (DependencyFinder.dependsOnInsideVariable(ContainerExpr) || in check()
988 doConversion(Context, LoopVar, getReferencedVariable(ContainerExpr), Usages, in check()