Searched refs:NRVOCandidate (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 1190 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument 1192 bool HasNRVOCandidate = NRVOCandidate != nullptr; in ReturnStmt() 1195 setNRVOCandidate(NRVOCandidate); in ReturnStmt() 1205 Expr *E, const VarDecl *NRVOCandidate) { in Create() argument 1206 bool HasNRVOCandidate = NRVOCandidate != nullptr; in Create() 1209 return new (Mem) ReturnStmt(RL, E, NRVOCandidate); in Create()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 3495 const VarDecl *NRVOCandidate = getCopyElisionCandidate(NRInfo, FnRetType); in ActOnCapScopeReturnStmt() local 3565 ReturnStmt::Create(Context, ReturnLoc, RetValExp, NRVOCandidate); in ActOnCapScopeReturnStmt() 3570 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt() 3889 const VarDecl *NRVOCandidate = getCopyElisionCandidate(NRInfo, FnRetType); in BuildReturnStmt() local 4051 Result = ReturnStmt::Create(Context, ReturnLoc, RetValExp, NRVOCandidate); in BuildReturnStmt()
|
H A D | SemaDecl.cpp | 15655 if (const VarDecl *NRVOCandidate = Returns[I]->getNRVOCandidate()) { in computeNRVO() local 15656 if (!NRVOCandidate->isNRVOVariable()) in computeNRVO()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 3041 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate); 3049 const VarDecl *NRVOCandidate);
|