Lines Matching refs:refVars
6495 SmallVectorImpl<const DeclRefExpr *> &refVars,
6498 SmallVectorImpl<const DeclRefExpr *> &refVars,
6508 SmallVector<const DeclRefExpr *, 8> refVars; in CheckReturnStackAddr() local
6514 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
6516 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
6524 if (refVars.empty()) { in CheckReturnStackAddr()
6532 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr()
6533 diagRange = refVars[0]->getSourceRange(); in CheckReturnStackAddr()
6551 for (unsigned i = 0, e = refVars.size(); i != e; ++i) { in CheckReturnStackAddr()
6552 const VarDecl *VD = cast<VarDecl>(refVars[i]->getDecl()); in CheckReturnStackAddr()
6556 SourceRange range = (i < e - 1) ? refVars[i + 1]->getSourceRange() in CheckReturnStackAddr()
6590 SmallVectorImpl<const DeclRefExpr *> &refVars, in EvalAddr() argument
6620 refVars.push_back(DR); in EvalAddr()
6621 return EvalAddr(V->getInit(), refVars, ParentDecl); in EvalAddr()
6633 return EvalVal(U->getSubExpr(), refVars, ParentDecl); in EvalAddr()
6654 return EvalAddr(Base, refVars, ParentDecl); in EvalAddr()
6667 if (const Expr *LHS = EvalAddr(LHSExpr, refVars, ParentDecl)) in EvalAddr()
6675 return EvalAddr(C->getRHS(), refVars, ParentDecl); in EvalAddr()
6687 return EvalAddr(cast<ExprWithCleanups>(E)->getSubExpr(), refVars, in EvalAddr()
6711 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr()
6714 return EvalVal(SubExpr, refVars, ParentDecl); in EvalAddr()
6720 return EvalAddr(SubExpr, refVars, ParentDecl); in EvalAddr()
6732 refVars, ParentDecl)) in EvalAddr()
6745 SmallVectorImpl<const DeclRefExpr *> &refVars, in EvalVal() argument
6769 return EvalVal(cast<ExprWithCleanups>(E)->getSubExpr(), refVars, in EvalVal()
6795 refVars.push_back(DR); in EvalVal()
6796 return EvalVal(V->getInit(), refVars, V); in EvalVal()
6811 return EvalAddr(U->getSubExpr(), refVars, ParentDecl); in EvalVal()
6823 return EvalAddr(ASE->getBase(), refVars, ParentDecl); in EvalVal()
6827 return EvalAddr(cast<OMPArraySectionExpr>(E)->getBase(), refVars, in EvalVal()
6840 if (const Expr *LHS = EvalVal(LHSExpr, refVars, ParentDecl)) in EvalVal()
6848 return EvalVal(C->getRHS(), refVars, ParentDecl); in EvalVal()
6865 return EvalVal(M->getBase(), refVars, ParentDecl); in EvalVal()
6871 refVars, ParentDecl)) in EvalVal()