Lines Matching refs:parentsRange
589 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfReadFrom() local
592 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom()
598 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfReadFrom() local
599 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfReadFrom()
600 : parentsRange.begin()->get<Stmt>(); in checkIfReadFrom()
607 auto parentsRange = compiler.getASTContext().getParents(*child); in checkIfReadFrom() local
608 if (parentsRange.begin() != parentsRange.end()) in checkIfReadFrom()
610 const Decl* decl = parentsRange.begin()->get<Decl>(); in checkIfReadFrom()
806 auto parentsRange = compiler.getASTContext().getParents(*memberExpr); in checkIfWrittenTo() local
809 = parentsRange.begin() == parentsRange.end() ? nullptr : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo()
815 auto parentsRange = compiler.getASTContext().getParents(*parent); in checkIfWrittenTo() local
816 parent = parentsRange.begin() == parentsRange.end() ? nullptr in checkIfWrittenTo()
817 : parentsRange.begin()->get<Stmt>(); in checkIfWrittenTo()
825 auto parentsRange = compiler.getASTContext().getParents(*child); in checkIfWrittenTo() local
826 if (parentsRange.begin() != parentsRange.end()) in checkIfWrittenTo()
828 auto varDecl = dyn_cast_or_null<VarDecl>(parentsRange.begin()->get<Decl>()); in checkIfWrittenTo()