Lines Matching refs:CurCap
3577 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
3578 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3579 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
3584 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
3605 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3606 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3608 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3615 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3616 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3634 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3649 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3650 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3654 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3659 } else if (auto *CurRegion = dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3727 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()