Home
last modified time | relevance | path

Searched refs:FirstCoroutineStmtLoc (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScopeInfo.h177 SourceLocation FirstCoroutineStmtLoc; variable
484 bool isCoroutine() const { return !FirstCoroutineStmtLoc.isInvalid(); } in isCoroutine()
487 assert(FirstCoroutineStmtLoc.isInvalid() && in setFirstCoroutineStmt()
489 FirstCoroutineStmtLoc = Loc; in setFirstCoroutineStmt()
497 assert(FirstCoroutineStmtLoc.isValid() in getFirstCoroutineStmtKeyword()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp596 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
1100 assert(Fn->FirstCoroutineStmtLoc.isValid() && in CheckCompletedCoroutineBody()
1103 Diag(Fn->FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in CheckCompletedCoroutineBody()
1190 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in diagReturnOnAllocFailure()
1233 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeReturnOnAllocFailure()
1563 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeOnException()
1591 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in noteMemberDeclaredHere()
H A DScopeInfo.cpp44 FirstCoroutineStmtLoc = SourceLocation(); in Clear()