Home
last modified time | relevance | path

Searched refs:RetValExp (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp2818 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument
2834 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
2844 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
2845 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
2848 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
2855 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
2859 if (RetValExp) { in ActOnCapScopeReturnStmt()
2864 << RetValExp->getSourceRange(); in ActOnCapScopeReturnStmt()
2903 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt()
2905 (RetValExp->isTypeDependent() || in ActOnCapScopeReturnStmt()
[all …]
DSemaChecking.cpp5615 CheckReturnStackAddr(Sema &S, Expr *RetValExp, QualType lhsType, in CheckReturnStackAddr() argument
5625 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
5627 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
5993 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
5998 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr()
6003 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
6005 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
6018 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
/external/clang/include/clang/Sema/
DSema.h3399 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
3401 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
3402 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
9079 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,