Lines Matching defs:NRVOCandidate
2507 const VarDecl *NRVOCandidate,
2519 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) {
2662 const VarDecl *NRVOCandidate = nullptr;
2690 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false);
2693 NRVOCandidate != nullptr);
2694 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate,
2703 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false);
2713 NRVOCandidate);
2718 if (CurCap->HasImplicitReturnType || NRVOCandidate)
2972 const VarDecl *NRVOCandidate = nullptr;
2983 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false);
2988 NRVOCandidate != nullptr);
2989 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate,
3022 Result = new (Context) ReturnStmt(ReturnLoc, RetValExp, NRVOCandidate);