reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1034 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(Fn.CoroutinePromise), Loc, Loc); 1034 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(Fn.CoroutinePromise), Loc, Loc); 1085 LookupResult Found(S, DN, Loc, Sema::LookupMemberName); 1099 S.BuildCallExpr(nullptr, DeclNameExpr.get(), Loc, {}, Loc); 1099 S.BuildCallExpr(nullptr, DeclNameExpr.get(), Loc, {}, Loc); 1104 S.BuildReturnStmt(Loc, ReturnObjectOnAllocationFailure.get()); 1123 if (S.RequireCompleteType(Loc, PromiseType, diag::err_incomplete_type)) 1158 ExprResult ThisExpr = S.ActOnCXXThis(Loc); 1161 ThisExpr = S.CreateBuiltinUnaryOp(Loc, UO_Deref, ThisExpr.get()); 1181 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Class, 1192 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Class, 1203 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Global, 1215 auto *StdNoThrow = buildStdNoThrowDeclRef(S, Loc); 1220 S.FindAllocationFunctions(Loc, SourceRange(), /*NewScope*/ Sema::AFS_Both, 1235 S.Diag(Loc, diag::note_coroutine_promise_call_implicitly_required) 1241 if ((OperatorDelete = findDeleteForPromise(S, Loc, PromiseType)) == nullptr) 1245 buildBuiltinCall(S, Loc, Builtin::BI__builtin_coro_frame, {}); 1248 buildBuiltinCall(S, Loc, Builtin::BI__builtin_coro_size, {}); 1253 S.BuildDeclRefExpr(OperatorNew, OperatorNew->getType(), VK_LValue, Loc); 1262 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); 1262 S.BuildCallExpr(S.getCurScope(), NewRef.get(), Loc, NewArgs, Loc); 1272 S.BuildDeclRefExpr(OperatorDelete, OpDeleteQualType, VK_LValue, Loc); 1277 buildBuiltinCall(S, Loc, Builtin::BI__builtin_coro_free, {FramePtr}); 1288 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); 1288 S.BuildCallExpr(S.getCurScope(), DeleteRef.get(), Loc, DeleteArgs, Loc); 1309 lookupMember(S, "return_void", PromiseRecordDecl, Loc, HasRVoid); 1311 lookupMember(S, "return_value", PromiseRecordDecl, Loc, HasRValue); 1357 if (!lookupMember(S, "unhandled_exception", PromiseRecordDecl, Loc)) { 1363 S.Diag(Loc, DiagID) << PromiseRecordDecl; 1373 ExprResult UnhandledException = buildPromiseCall(S, Fn.CoroutinePromise, Loc, 1375 UnhandledException = S.ActOnFinishFullExpr(UnhandledException.get(), Loc, 1397 buildPromiseCall(S, Fn.CoroutinePromise, Loc, "get_return_object", None); 1430 S.ActOnFinishFullExpr(this->ReturnValue, Loc, /*DiscardedValue*/ false); 1441 InitializedEntity::InitializeResult(Loc, FnRetType, false); 1450 S.Context.getTrivialTypeSourceInfo(GroType, Loc), SC_None); 1474 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(GroDecl), Loc, Loc); 1474 S.ActOnDeclStmt(S.ConvertDeclToDeclGroup(GroDecl), Loc, Loc); 1480 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); 1484 StmtResult ReturnStmt = S.BuildReturnStmt(Loc, declRef.get());