Home
last modified time | relevance | path

Searched refs:CoroutinePromise (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Sema/
DSemaCoroutine.cpp135 if (!ScopeInfo->CoroutinePromise) { in checkCoroutineContext()
145 ScopeInfo->CoroutinePromise = in checkCoroutineContext()
149 S.CheckVariableDeclarationType(ScopeInfo->CoroutinePromise); in checkCoroutineContext()
150 if (!ScopeInfo->CoroutinePromise->isInvalidDecl()) in checkCoroutineContext()
151 S.ActOnUninitializedDecl(ScopeInfo->CoroutinePromise, false); in checkCoroutineContext()
263 assert(Coroutine->CoroutinePromise && "no promise for coroutine"); in buildPromiseCall()
266 auto *Promise = Coroutine->CoroutinePromise; in buildPromiseCall()
392 ActOnDeclStmt(ConvertDeclToDeclGroup(Fn->CoroutinePromise), Loc, Loc); in CheckCompletedCoroutineBody()
DScopeInfo.cpp43 CoroutinePromise = nullptr; in Clear()
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp641 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()
647 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()
648 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()
733 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()
747 buildPromiseCall(*this, ScopeInfo->CoroutinePromise, Loc, Name, None); in ActOnCoroutineBodyStart()
854 auto *Promise = FSI->CoroutinePromise; in BuildUnresolvedCoawaitExpr()
909 *this, Coroutine->CoroutinePromise, CallLoc, E); in BuildResolvedCoawaitExpr()
930 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()
964 *this, Coroutine->CoroutinePromise, Loc, E); in BuildCoyieldExpr()
1012 VarDecl *Promise = FSI->CoroutinePromise; in BuildCoreturnStmt()
[all …]
DScopeInfo.cpp45 CoroutinePromise = nullptr; in Clear()
DAnalysisBasedWarnings.cpp675 S.Diag(Loc, DiagID) << FSI->CoroutinePromise->getType(); in CheckFallThroughForBody()
DTreeTransform.h7622 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt()
7644 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()
/external/clang/include/clang/Sema/
DScopeInfo.h156 VarDecl *CoroutinePromise; variable
/external/llvm-project/clang/include/clang/Sema/
DScopeInfo.h199 VarDecl *CoroutinePromise = nullptr; variable