Searched refs:NRVOCandidate (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2693 const VarDecl *NRVOCandidate, in PerformMoveOrCopyInitialization() argument 2705 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) { in PerformMoveOrCopyInitialization() 2852 const VarDecl *NRVOCandidate = nullptr; in ActOnCapScopeReturnStmt() local 2880 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt() 2883 NRVOCandidate != nullptr); in ActOnCapScopeReturnStmt() 2884 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, in ActOnCapScopeReturnStmt() 2893 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt() 2903 NRVOCandidate); in ActOnCapScopeReturnStmt() 2908 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt() 3221 const VarDecl *NRVOCandidate = nullptr; in BuildReturnStmt() local [all …]
|
D | SemaDecl.cpp | 10491 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local 10492 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 1349 const VarDecl *NRVOCandidate; variable 1354 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument 1356 NRVOCandidate(NRVOCandidate) {} in ReturnStmt() 1373 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate() 1374 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; } in setNRVOCandidate()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2068 const VarDecl *NRVOCandidate,
|