Searched refs:CoroutinePromise (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 135 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()
|
D | ScopeInfo.cpp | 43 CoroutinePromise = nullptr; in Clear()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 641 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 …]
|
D | ScopeInfo.cpp | 45 CoroutinePromise = nullptr; in Clear()
|
D | AnalysisBasedWarnings.cpp | 675 S.Diag(Loc, DiagID) << FSI->CoroutinePromise->getType(); in CheckFallThroughForBody()
|
D | TreeTransform.h | 7622 assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise && in TransformCoroutineBodyStmt() 7644 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 156 VarDecl *CoroutinePromise; variable
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 199 VarDecl *CoroutinePromise = nullptr; variable
|