Lines Matching refs:CurCap
2589 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
2590 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
2591 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
2597 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
2598 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2600 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2606 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2607 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
2621 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
2636 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
2637 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
2641 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
2647 dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
2718 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()