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

References

tools/clang/lib/Sema/SemaStmt.cpp
 3584     return ActOnCapScopeReturnStmt(ReturnLoc, RetValExp);
 3596       Diag(ReturnLoc, diag::warn_noreturn_function_has_return_expr)
 3600         Diag(ReturnLoc, diag::warn_main_returns_bool_literal)
 3624           ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false);
 3629     return ReturnStmt::Create(Context, ReturnLoc, RetValExp,
 3638       if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) {
 3665         Diag(ReturnLoc, diag::err_return_init_list)
 3694           Diag(ReturnLoc, D)
 3711           Diag(ReturnLoc, D)
 3719             ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false);
 3726     Result = ReturnStmt::Create(Context, ReturnLoc, RetValExp,
 3745       Diag(ReturnLoc, DiagID)
 3748       Diag(ReturnLoc, DiagID) << getCurMethodDecl()->getDeclName() << 1/*meth*/;
 3750     Result = ReturnStmt::Create(Context, ReturnLoc, /* RetExpr=*/nullptr,
 3768       InitializedEntity Entity = InitializedEntity::InitializeResult(ReturnLoc,
 3786         Res = PerformCopyInitialization(Entity, ReturnLoc, RetValExp);
 3794       CheckReturnValExpr(RetValExp, FnRetType, ReturnLoc, isObjCMethod, Attrs,
 3800           ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false);
 3805     Result = ReturnStmt::Create(Context, ReturnLoc, RetValExp, NRVOCandidate);
 3814     FunctionScopes.back()->FirstReturnLoc = ReturnLoc;