Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp2614 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument
2630 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
2640 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
2641 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
2644 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
2651 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
2655 if (RetValExp) { in ActOnCapScopeReturnStmt()
2660 << RetValExp->getSourceRange(); in ActOnCapScopeReturnStmt()
2699 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt()
2701 (RetValExp->isTypeDependent() || in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp4896 CheckReturnStackAddr(Sema &S, Expr *RetValExp, QualType lhsType, in CheckReturnStackAddr() argument
4906 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
4908 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr()
5271 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
5276 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr()
5280 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
5282 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
5295 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h3223 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
3225 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
3226 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
8613 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,