Lines Matching refs:CurCap
2863 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
2864 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
2865 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
2870 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
2884 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
2885 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2887 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2893 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2894 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
2912 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
2927 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
2928 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
2932 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
2938 dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3009 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()