Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp2241 const VarDecl *NRVOCandidate, in PerformMoveOrCopyInitialization() argument
2253 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) { in PerformMoveOrCopyInitialization()
2368 const VarDecl *NRVOCandidate = 0; in ActOnCapScopeReturnStmt() local
2396 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnCapScopeReturnStmt()
2399 NRVOCandidate != 0); in ActOnCapScopeReturnStmt()
2400 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate, in ActOnCapScopeReturnStmt()
2417 NRVOCandidate); in ActOnCapScopeReturnStmt()
2535 const VarDecl *NRVOCandidate = 0; in ActOnReturnStmt() local
2560 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false); in ActOnReturnStmt()
2563 NRVOCandidate != 0); in ActOnReturnStmt()
[all …]
DSemaDecl.cpp8674 const VarDecl *NRVOCandidate = 0; in computeNRVO() local
8679 if (!NRVOCandidate) in computeNRVO()
8680 NRVOCandidate = Returns[I]->getNRVOCandidate(); in computeNRVO()
8681 else if (NRVOCandidate != Returns[I]->getNRVOCandidate()) in computeNRVO()
8685 if (NRVOCandidate) in computeNRVO()
8686 const_cast<VarDecl*>(NRVOCandidate)->setNRVOVariable(true); in computeNRVO()
/external/clang/include/clang/AST/
DStmt.h1326 const VarDecl *NRVOCandidate; variable
1330 : Stmt(ReturnStmtClass), RetExpr(0), RetLoc(RL), NRVOCandidate(0) { } in ReturnStmt()
1332 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() argument
1334 NRVOCandidate(NRVOCandidate) {} in ReturnStmt()
1351 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; } in getNRVOCandidate()
1352 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; } in setNRVOCandidate()
/external/clang/include/clang/Sema/
DSema.h1852 const VarDecl *NRVOCandidate,