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

References

tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  675       S.Diag(Loc, DiagID) << FSI->CoroutinePromise->getType();
tools/clang/lib/Sema/ScopeInfo.cpp
   44   CoroutinePromise = nullptr;
tools/clang/lib/Sema/SemaCoroutine.cpp
  586   if (ScopeInfo->CoroutinePromise)
  592   ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc);
  593   if (!ScopeInfo->CoroutinePromise)
  604   assert(ScopeInfo->CoroutinePromise);
  618         buildPromiseCall(*this, ScopeInfo->CoroutinePromise, Loc, Name, None);
  725   auto *Promise = FSI->CoroutinePromise;
  780       buildCoawaitCalls(*this, Coroutine->CoroutinePromise, CallLoc, E);
  801       *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E);
  835       buildCoawaitCalls(*this, Coroutine->CoroutinePromise, Loc, E);
  883   VarDecl *Promise = FSI->CoroutinePromise;
  967   if (!Fn->CoroutinePromise)
  997           !Fn.CoroutinePromise ||
  998           Fn.CoroutinePromise->getType()->isDependentType()) {
 1006     PromiseRecordDecl = Fn.CoroutinePromise->getType()->getAsCXXRecordDecl();
 1034       S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(Fn.CoroutinePromise), Loc, Loc);
 1121   QualType PromiseType = Fn.CoroutinePromise->getType();
 1373   ExprResult UnhandledException = buildPromiseCall(S, Fn.CoroutinePromise, Loc,
 1397       buildPromiseCall(S, Fn.CoroutinePromise, Loc, "get_return_object", None);
tools/clang/lib/Sema/TreeTransform.h
 7183   assert(FD && ScopeInfo && !ScopeInfo->CoroutinePromise &&
 7201   ScopeInfo->CoroutinePromise = Promise;