Lines Matching refs:CurCap
3214 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
3215 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3216 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
3222 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
3237 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3238 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3240 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3246 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3247 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3265 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3280 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3281 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3285 if (BlockScopeInfo *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3291 dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3362 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()