Searched defs:NRVOCandidate (Results 1 - 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
H A DStmt.h1316 const VarDecl *NRVOCandidate; member in class:clang::ReturnStmt
1320 : Stmt(ReturnStmtClass), RetExpr(0), RetLoc(RL), NRVOCandidate(0) { }
1322 ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) argument
1324 NRVOCandidate(NRVOCandidate) {}
1341 const VarDecl *getNRVOCandidate() const { return NRVOCandidate; }
1342 void setNRVOCandidate(const VarDecl *Var) { NRVOCandidate = Var; }
/external/clang/lib/Sema/
H A DSemaStmt.cpp2390 const VarDecl *NRVOCandidate,
2402 (NRVOCandidate || getCopyElisionCandidate(ResultType, Value, true))) {
2542 const VarDecl *NRVOCandidate = 0; local
2570 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false);
2573 NRVOCandidate != 0);
2574 ExprResult Res = PerformMoveOrCopyInitialization(Entity, NRVOCandidate,
2591 NRVOCandidate);
2791 const VarDecl *NRVOCandidate = 0; local
2803 NRVOCandidate = getCopyElisionCandidate(FnRetType, RetValExp, false);
2806 NRVOCandidate !
2389 PerformMoveOrCopyInitialization(const InitializedEntity &Entity, const VarDecl *NRVOCandidate, QualType ResultType, Expr *Value, bool AllowNRVO) argument
[all...]
H A DSemaDecl.cpp9382 const VarDecl *NRVOCandidate = 0; local
9387 if (!NRVOCandidate)
9388 NRVOCandidate = Returns[I]->getNRVOCandidate();
9389 else if (NRVOCandidate != Returns[I]->getNRVOCandidate())
9393 if (NRVOCandidate)
9394 const_cast<VarDecl*>(NRVOCandidate)->setNRVOVariable(true);

Completed in 59 milliseconds