Searched refs:ReturnLoc (Results 1 - 6 of 6) sorted by relevance

/external/clang/lib/Sema/
H A DSemaStmt.cpp2254 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { argument
2280 Diag(ReturnLoc, diag::err_lambda_return_init_list)
2296 Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr);
2302 Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr);
2321 Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2;
2323 Diag(ReturnLoc, diag::err_return_block_has_expr);
2328 return StmtError(Diag(ReturnLoc, diag::err_block_return_missing_expr));
2339 InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc,
2349 CheckReturnStackAddr(RetValExp, FnRetType, ReturnLoc);
2353 CheckImplicitConversions(RetValExp, ReturnLoc);
2371 ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) argument
[all...]
H A DTreeTransform.h1146 StmtResult RebuildReturnStmt(SourceLocation ReturnLoc, Expr *Result) { argument
1147 return getSema().ActOnReturnStmt(ReturnLoc, Result);
H A DSemaChecking.cpp3437 SourceLocation ReturnLoc) {
3436 CheckReturnStackAddr(Expr *RetValExp, QualType lhsType, SourceLocation ReturnLoc) argument
/external/clang/include/clang/Sema/
H A DInitialization.h206 static InitializedEntity InitializeResult(SourceLocation ReturnLoc, argument
208 return InitializedEntity(EK_Result, ReturnLoc, Type, NRVO);
H A DSema.h2569 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
2570 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
7176 SourceLocation ReturnLoc);
/external/clang/lib/Parse/
H A DParseStmt.cpp1556 SourceLocation ReturnLoc = ConsumeToken(); // eat the 'return'. local
1580 return Actions.ActOnReturnStmt(ReturnLoc, R.take());

Completed in 123 milliseconds