Searched refs:CurCap (Results 1 – 2 of 2) sorted by relevance
2863 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local2864 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()[all …]
129 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local132 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()137 } else if (CurCap->capturesThis()) in GenerateOpenMPCapturedVars()139 else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()149 Twine(CurCap->getCapturedVar()->getName()) + ".casted"); in GenerateOpenMPCapturedVars()166 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()