reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaCoroutine.cpp
  959   assert(Fn && Fn->isCoroutine() && "not a coroutine");
  959   assert(Fn && Fn->isCoroutine() && "not a coroutine");
  967   if (!Fn->CoroutinePromise)
  977   if (Fn->FirstReturnLoc.isValid()) {
  978     assert(Fn->FirstCoroutineStmtLoc.isValid() &&
  980     Diag(Fn->FirstReturnLoc, diag::err_return_in_coroutine);
  981     Diag(Fn->FirstCoroutineStmtLoc, diag::note_declared_coroutine_here)
  982             << Fn->getFirstCoroutineStmtKeyword();
  984   CoroutineStmtBuilder Builder(*this, *FD, *Fn, Body);