Searched refs:CurCap (Results 1 – 1 of 1) sorted by relevance
2589 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local2590 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()[all …]