Searched refs:CurCap (Results 1 – 2 of 2) sorted by relevance
3418 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local3419 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()3420 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()3427 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()3448 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()3449 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3451 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()3458 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3459 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()3477 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()[all …]
356 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local359 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()364 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()366 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()367 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()375 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()381 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()389 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()393 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()