Lines Matching refs:CurCap
3568 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
3569 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3570 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
3575 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
3596 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3597 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3599 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3606 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3607 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3625 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3640 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3641 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3645 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3650 } else if (auto *CurRegion = dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3718 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()