Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3588 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3617 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3618 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3627 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3628 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3646 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3661 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3662 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3666 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
3739 if (CurCap->HasImplicitReturnType || NRVOCandidate) in ActOnCapScopeReturnStmt()
[all …]
/freebsd-14.2/contrib/llvm-project/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()