Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp2774 const VarDecl *NRVOCandidate, in PerformMoveOrCopyInitialization() argument
2789 if (AllowNRVO && !NRVOCandidate) in PerformMoveOrCopyInitialization()
2790 NRVOCandidate = getCopyElisionCandidate(ResultType, Value, true); in PerformMoveOrCopyInitialization()
2792 if (AllowNRVO && NRVOCandidate) { in PerformMoveOrCopyInitialization()
2824 NRVOCandidate->getType())) in PerformMoveOrCopyInitialization()
2953 const VarDecl *NRVOCandidate = nullptr; in ActOnCapScopeReturnStmt() local
2981 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2984 NRVOCandidate != nullptr); in ActOnCapScopeReturnStmt()
2985 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, in ActOnCapScopeReturnStmt()
2994 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
[all …]
DSemaDecl.cpp11383 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local
11384 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1369 const VarDecl *NRVOCandidate; variable
1374 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument
1376 NRVOCandidate(NRVOCandidate) {} in ReturnStmt()
1393 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate()
1394 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; } in setNRVOCandidate()
/external/clang/lib/AST/
DASTImporter.cpp5151 VarDecl *NRVOCandidate = const_cast<VarDecl*>(S->getNRVOCandidate()); in VisitReturnStmt() local
5152 VarDecl *ToNRVOCandidate = cast_or_null<VarDecl>(Importer.Import(NRVOCandidate)); in VisitReturnStmt()
5153 if (!ToNRVOCandidate && NRVOCandidate) in VisitReturnStmt()
/external/clang/include/clang/Sema/
DSema.h2310 const VarDecl *NRVOCandidate,