Searched refs:refVars (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 5607 static Expr *EvalVal(Expr *E, SmallVectorImpl<DeclRefExpr *> &refVars, 5609 static Expr *EvalAddr(Expr* E, SmallVectorImpl<DeclRefExpr *> &refVars, 5619 SmallVector<DeclRefExpr *, 8> refVars; in CheckReturnStackAddr() local 5625 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 5627 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 5635 if (refVars.empty()) { in CheckReturnStackAddr() 5643 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr() 5644 diagRange = refVars[0]->getSourceRange(); in CheckReturnStackAddr() 5661 for (unsigned i = 0, e = refVars.size(); i != e; ++i) { in CheckReturnStackAddr() 5662 VarDecl *VD = cast<VarDecl>(refVars[i]->getDecl()); in CheckReturnStackAddr() [all …]
|