Searched refs:RetValExp (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2586 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument 2602 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 2612 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt() 2613 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt() 2616 RetValExp = Result.get(); in ActOnCapScopeReturnStmt() 2619 FnRetType = RetValExp->getType(); in ActOnCapScopeReturnStmt() 2623 if (RetValExp) { in ActOnCapScopeReturnStmt() 2628 << RetValExp->getSourceRange(); in ActOnCapScopeReturnStmt() 2667 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt() 2669 (RetValExp->isTypeDependent() || in ActOnCapScopeReturnStmt() [all …]
|
D | SemaChecking.cpp | 4429 CheckReturnStackAddr(Sema &S, Expr *RetValExp, QualType lhsType, in CheckReturnStackAddr() argument 4439 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 4441 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 4804 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument 4809 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr() 4813 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr() 4815 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr() 4828 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3100 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 3102 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 3103 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 8298 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,
|