Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp2863 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() local
2864 QualType FnRetType = CurCap->ReturnType; in ActOnCapScopeReturnStmt()
2865 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
2870 (HasDeducedReturnType || CurCap->HasImplicitReturnType)) { in ActOnCapScopeReturnStmt()
2884 if (CurCap->ReturnType.isNull()) in ActOnCapScopeReturnStmt()
2885 CurCap->ReturnType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2887 AutoType *AT = CurCap->ReturnType->getContainedAutoType(); in ActOnCapScopeReturnStmt()
2893 CurCap->ReturnType = FnRetType = FD->getReturnType(); in ActOnCapScopeReturnStmt()
2894 } else if (CurCap->HasImplicitReturnType) { in ActOnCapScopeReturnStmt()
2912 FnRetType = CurCap->ReturnType = Context.DependentTy; in ActOnCapScopeReturnStmt()
[all …]
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp129 auto CurCap = S.captures().begin(); in GenerateOpenMPCapturedVars() local
132 I != E; ++I, ++CurField, ++CurCap) { in GenerateOpenMPCapturedVars()
137 } else if (CurCap->capturesThis()) in GenerateOpenMPCapturedVars()
139 else if (CurCap->capturesVariableByCopy()) { in GenerateOpenMPCapturedVars()
149 Twine(CurCap->getCapturedVar()->getName()) + ".casted"); in GenerateOpenMPCapturedVars()
166 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()