Lines Matching refs:PromiseRecordDecl
1261 PromiseRecordDecl = Fn.CoroutinePromise->getType()->getAsCXXRecordDecl(); in CoroutineStmtBuilder()
1262 assert(PromiseRecordDecl && "Type should have already been checked"); in CoroutineStmtBuilder()
1306 CXXRecordDecl *PromiseRecordDecl, in diagReturnOnAllocFailure() argument
1322 << PromiseRecordDecl; in diagReturnOnAllocFailure()
1344 if (!S.LookupQualifiedName(Found, PromiseRecordDecl)) in makeReturnOnAllocFailure()
1353 if (!diagReturnOnAllocFailure(S, DeclNameExpr.get(), PromiseRecordDecl, Fn)) in makeReturnOnAllocFailure()
1718 lookupMember(S, "return_void", PromiseRecordDecl, Loc, HasRVoid); in makeOnFallthrough()
1720 lookupMember(S, "return_value", PromiseRecordDecl, Loc, HasRValue); in makeOnFallthrough()
1727 << PromiseRecordDecl; in makeOnFallthrough()
1746 Fallthrough = S.ActOnNullStmt(PromiseRecordDecl->getLocation()); in makeOnFallthrough()
1768 if (!lookupMember(S, "unhandled_exception", PromiseRecordDecl, Loc)) { in makeOnException()
1774 S.Diag(Loc, DiagID) << PromiseRecordDecl; in makeOnException()
1775 S.Diag(PromiseRecordDecl->getLocation(), diag::note_defined_here) in makeOnException()
1776 << PromiseRecordDecl; in makeOnException()