Searched refs:CurCap (Results 1 – 4 of 4) 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 …]
3309 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local3310 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()3311 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()3317 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()3338 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()3339 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3341 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()3348 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()3349 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()3367 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()
311 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local314 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()319 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()321 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()322 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()330 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()335 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()343 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()347 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()