Home
last modified time | relevance | path

Searched refs:CurCap (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp3578 QualType FnRetType = CurCap->ReturnType; 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()
3649 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3650 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3654 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
[all …]
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp330 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local
333 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()