Searched refs:refVars (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 3553 static Expr *EvalVal(Expr *E, SmallVectorImpl<DeclRefExpr *> &refVars, 3555 static Expr *EvalAddr(Expr* E, SmallVectorImpl<DeclRefExpr *> &refVars, 3565 SmallVector<DeclRefExpr *, 8> refVars; in CheckReturnStackAddr() local 3571 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/0); in CheckReturnStackAddr() 3573 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/0); in CheckReturnStackAddr() 3581 if (refVars.empty()) { in CheckReturnStackAddr() 3589 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr() 3590 diagRange = refVars[0]->getSourceRange(); in CheckReturnStackAddr() 3609 for (unsigned i = 0, e = refVars.size(); i != e; ++i) { in CheckReturnStackAddr() 3610 VarDecl *VD = cast<VarDecl>(refVars[i]->getDecl()); in CheckReturnStackAddr() [all …]
|