Searched refs:NRVOCandidate (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2739 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 …]
|
D | SemaDecl.cpp | 10977 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local 10978 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 1347 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/ |
D | ASTImporter.cpp | 4853 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/ |
D | Sema.h | 2246 const VarDecl *NRVOCandidate,
|