reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaStmt.cpp
 3252           ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false);
 3257     return ReturnStmt::Create(Context, ReturnLoc, RetValExp,
 3270     if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) {
 3299         Diag(ReturnLoc, diag::err_lambda_return_init_list)
 3315       Diag(ReturnLoc, diag::err_noreturn_block_has_return_expr);
 3319     Diag(ReturnLoc, diag::err_return_in_captured_stmt) << CurRegion->getRegionName();
 3326       Diag(ReturnLoc, diag::err_noreturn_lambda_has_return_expr);
 3345         Diag(ReturnLoc, diag::ext_return_has_void_expr) << "literal" << 2;
 3347         Diag(ReturnLoc, diag::err_return_block_has_expr);
 3352     return StmtError(Diag(ReturnLoc, diag::err_block_return_missing_expr));
 3363     InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc,
 3373     CheckReturnValExpr(RetValExp, FnRetType, ReturnLoc);
 3380         ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false);
 3386       ReturnStmt::Create(Context, ReturnLoc, RetValExp, NRVOCandidate);
 3395     FunctionScopes.back()->FirstReturnLoc = ReturnLoc;