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

References

tools/clang/lib/Sema/SemaStmt.cpp
 3141       NRVOCandidate = getCopyElisionCandidate(ResultType, Value, CES_Default);
 3144                                       Value->getExprLoc())) {
 3146             getCopyElisionCandidate(ResultType, Value, CES_FormerDefault);
 3152       TryMoveInitialization(*this, Entity, NRVOCandidate, ResultType, Value,
 3173         Diag(Value->getExprLoc(), diag::warn_return_std_move_in_cxx11)
 3174             << Value->getSourceRange()
 3176         Diag(Value->getExprLoc(), diag::note_add_std_move_in_cxx11)
 3177             << FixItHint::CreateReplacement(Value->getSourceRange(), Str);
 3181                                            Value->getExprLoc())) {
 3183           getCopyElisionCandidate(QualType(), Value, CES_AsIfByStdMove);
 3196           Expr *FakeValue = Value;
 3206             Diag(Value->getExprLoc(), diag::warn_return_std_move)
 3207                 << Value->getSourceRange()
 3209             Diag(Value->getExprLoc(), diag::note_add_std_move)
 3210                 << FixItHint::CreateReplacement(Value->getSourceRange(), Str);
 3221     Res = PerformCopyInitialization(Entity, SourceLocation(), Value);