Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h183 SourceLocation FirstCoroutineStmtLoc; variable
502 bool isCoroutine() const { return !FirstCoroutineStmtLoc.isInvalid(); } in isCoroutine()
505 assert(FirstCoroutineStmtLoc.isInvalid() && in setFirstCoroutineStmt()
507 FirstCoroutineStmtLoc = Loc; in setFirstCoroutineStmt()
519 assert(FirstCoroutineStmtLoc.isValid() in getFirstCoroutineStmtKeyword()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp581 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
679 assert(FSI->FirstCoroutineStmtLoc.isValid() && in checkReturnStmtInCoroutine()
684 S.Diag(FSI->FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in checkReturnStmtInCoroutine()
701 if (ScopeInfo->FirstCoroutineStmtLoc == KWLoc) in ActOnCoroutineBodyStart()
1300 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in diagReturnOnAllocFailure()
1343 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeReturnOnAllocFailure()
1790 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in makeOnException()
1818 S.Diag(Fn.FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in noteMemberDeclaredHere()
H A DScopeInfo.cpp45 FirstCoroutineStmtLoc = SourceLocation(); in Clear()
H A DSemaStmt.cpp3860 assert(FSI->FirstCoroutineStmtLoc.isValid() && in ActOnReturnStmt()
3863 Diag(FSI->FirstCoroutineStmtLoc, diag::note_declared_coroutine_here) in ActOnReturnStmt()