Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h180 SourceLocation FirstCoroutineStmtLoc; variable
499 bool isCoroutine() const { return !FirstCoroutineStmtLoc.isInvalid(); } in isCoroutine()
502 assert(FirstCoroutineStmtLoc.isInvalid() && in setFirstCoroutineStmt()
504 FirstCoroutineStmtLoc = Loc; in setFirstCoroutineStmt()
512 assert(FirstCoroutineStmtLoc.isValid() in getFirstCoroutineStmtKeyword()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp681 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
1215 assert(Fn->FirstCoroutineStmtLoc.isValid() && in CheckCompletedCoroutineBody()
1218 Diag(Fn->FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in CheckCompletedCoroutineBody()
1323 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in diagReturnOnAllocFailure()
1366 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeReturnOnAllocFailure()
1795 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeOnException()
1823 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in noteMemberDeclaredHere()
H A DScopeInfo.cpp45 FirstCoroutineStmtLoc = SourceLocation(); in Clear()