Searched refs:CurCap (Results 1 – 2 of 2) sorted by relevance
3577 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local3578 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()3579 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()3584 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()3605 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()3606 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3608 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()3615 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3616 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()3634 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()[all …]
330 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local333 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()338 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()340 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()341 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()349 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()354 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()362 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()366 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()