Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp3597 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
3598 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
3599 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
3605 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
3626 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
3627 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3629 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
3636 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
3637 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
3655 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmtOpenMP.cpp325 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local
328 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
333 } else if (CurCap->capturesThis()) { in GenerateOpenMPCapturedVars()
335 } else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()
336 llvm::Value *CV = EmitLoadOfScalar(EmitLValue(*I), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
344 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars()
349 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
357 CV = EmitLoadOfScalar(DstLV, CurCap->getLocation()); in GenerateOpenMPCapturedVars()
361 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()