Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp2507 const VarDecl *NRVOCandidate, in PerformMoveOrCopyInitialization() argument
2519 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) { in PerformMoveOrCopyInitialization()
2662 const VarDecl *NRVOCandidate = nullptr; in ActOnCapScopeReturnStmt() local
2690 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2693 NRVOCandidate != nullptr); in ActOnCapScopeReturnStmt()
2694 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, in ActOnCapScopeReturnStmt()
2703 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2713 NRVOCandidate); in ActOnCapScopeReturnStmt()
2718 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()
2972 const VarDecl *NRVOCandidate = nullptr; in BuildReturnStmt() local
[all …]
DSemaDecl.cpp10021 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local
10022 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1341 const VarDecl *NRVOCandidate; variable
1346 NRVOCandidate(nullptr) {} in ReturnStmt()
1348 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument
1350 NRVOCandidate(NRVOCandidate) {} in ReturnStmt()
1367 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate()
1368 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; } in setNRVOCandidate()
/external/clang/include/clang/Sema/
DSema.h2102 const VarDecl *NRVOCandidate,