Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp599 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()
605 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()
606 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()
695 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()
839 auto *Promise = FSI->CoroutinePromise; in BuildUnresolvedCoawaitExpr()
953 *this, Coroutine->CoroutinePromise, Loc, E); in BuildCoyieldExpr()
985 VarDecl *Promise = FSI->CoroutinePromise; in BuildCoreturnStmt()
1081 if (!Fn->CoroutinePromise) in CheckCompletedCoroutineBody()
1119 !Fn.CoroutinePromise || in CoroutineStmtBuilder()
1120 Fn.CoroutinePromise->getType()->isDependentType()) { in CoroutineStmtBuilder()
[all …]
H A DScopeInfo.cpp45 CoroutinePromise = nullptr; in Clear()
H A DAnalysisBasedWarnings.cpp676 S.Diag(Loc, DiagID) << FSI->CoroutinePromise->getType(); in CheckFallThroughForBody()
H A DTreeTransform.h7839 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt()
7861 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h208 VarDecl *CoroutinePromise = nullptr; variable