Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp3215 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3237 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3238 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3240 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3246 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3247 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3265 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
3280 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3281 CurCap->ReturnType = FnRetType; in ActOnCapScopeReturnStmt()
3291 dyn_cast<CapturedRegionScopeInfo>(CurCap)) { in ActOnCapScopeReturnStmt()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp257 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local
260 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
265 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()
267 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()
268 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
276 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()
281 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
289 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()
293 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()