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

References

tools/clang/lib/Sema/SemaCoroutine.cpp
  860   if (E && E->getType()->isPlaceholderType() &&
  860   if (E && E->getType()->isPlaceholderType() &&
  861       !E->getType()->isSpecificPlaceholderType(BuiltinType::Overload)) {
  862     ExprResult R = CheckPlaceholderExpr(E);
  864     E = R.get();
  868   if (E) {
  869     auto NRVOCandidate = this->getCopyElisionCandidate(E->getType(), E, CES_AsIfByStdMove);
  869     auto NRVOCandidate = this->getCopyElisionCandidate(E->getType(), E, CES_AsIfByStdMove);
  872           InitializedEntity::InitializeResult(Loc, E->getType(), NRVOCandidate);
  874           Entity, NRVOCandidate, E->getType(), E);
  874           Entity, NRVOCandidate, E->getType(), E);
  876         E = MoveResult.get();
  885   if (E && (isa<InitListExpr>(E) || !E->getType()->isVoidType())) {
  885   if (E && (isa<InitListExpr>(E) || !E->getType()->isVoidType())) {
  885   if (E && (isa<InitListExpr>(E) || !E->getType()->isVoidType())) {
  886     PC = buildPromiseCall(*this, Promise, Loc, "return_value", E);
  888     E = MakeFullDiscardedValueExpr(E).get();
  888     E = MakeFullDiscardedValueExpr(E).get();
  896   Stmt *Res = new (Context) CoreturnStmt(Loc, E, PCE, IsImplicit);