Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp2739 const VarDecl *NRVOCandidate, in PerformMoveOrCopyInitialization() argument
2751 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) { in PerformMoveOrCopyInitialization()
2898 const VarDecl *NRVOCandidate = nullptr; in ActOnCapScopeReturnStmt() local
2926 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2929 NRVOCandidate != nullptr); in ActOnCapScopeReturnStmt()
2930 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, in ActOnCapScopeReturnStmt()
2939 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2949 NRVOCandidate); in ActOnCapScopeReturnStmt()
2954 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()
3268 const VarDecl *NRVOCandidate = nullptr; in BuildReturnStmt() local
[all …]
DSemaDecl.cpp10977 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local
10978 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1347 const VarDecl *NRVOCandidate; variable
1352 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument
1354 NRVOCandidate(NRVOCandidate) {} in ReturnStmt()
1371 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate()
1372 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; } in setNRVOCandidate()
/external/clang/lib/AST/
DASTImporter.cpp4853 VarDecl *NRVOCandidate = const_cast<VarDecl*>(S->getNRVOCandidate()); in VisitReturnStmt() local
4854 VarDecl *ToNRVOCandidate = cast_or_null<VarDecl>(Importer.Import(NRVOCandidate)); in VisitReturnStmt()
4855 if (!ToNRVOCandidate && NRVOCandidate) in VisitReturnStmt()
/external/clang/include/clang/Sema/
DSema.h2246 const VarDecl *NRVOCandidate,