Lines Matching refs:Keyword
189 StringRef Keyword) { in isValidCoroutineContext() argument
200 : diag::err_coroutine_outside_function) << Keyword; in isValidCoroutineContext()
217 S.Diag(Loc, diag::err_coroutine_invalid_func_context) << ID << Keyword; in isValidCoroutineContext()
609 StringRef Keyword, in checkCoroutineContext() argument
611 if (!isValidCoroutineContext(S, Loc, Keyword)) in checkCoroutineContext()
620 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
710 StringRef Keyword) { in ActOnCoroutineBodyStart() argument
711 if (!checkCoroutineContext(*this, KWLoc, Keyword)) in ActOnCoroutineBodyStart()
740 Diag(KWLoc, diag::note_declared_coroutine_here) << Keyword; in ActOnCoroutineBodyStart()
790 StringRef Keyword) { in checkSuspensionContext() argument
795 S.Diag(Loc, diag::err_coroutine_unevaluated_context) << Keyword; in checkSuspensionContext()
799 S.Diag(Loc, diag::err_coroutine_within_handler) << Keyword; in checkSuspensionContext()