Home
last modified time | relevance | path

Searched refs:NRVOCandidate (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp2693 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 …]
DSemaDecl.cpp10491 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local
10492 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1349 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/
DSema.h2068 const VarDecl *NRVOCandidate,