Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3531 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3559 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3560 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3562 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3569 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3570 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3588 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3603 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3604 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3608 if (auto *CurBlock = dyn_cast<BlockScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp327 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local
330 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
335 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()
337 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()
338 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
346 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()
351 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
359 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()
363 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()