From 51fee9fa3ed19f40806cb1dbde824d744f1969ab Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Thu, 7 Apr 2022 12:15:11 -0700 Subject: [PATCH] Remove deprecated `Halide::Output` type It was deprecated (in favor of `OutputFileType` in Halide 14; let's remove it entirely for Halide 15. --- src/Module.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/src/Module.h b/src/Module.h index cfee97da08fa..8c7fb16f95a8 100644 --- a/src/Module.h +++ b/src/Module.h @@ -43,42 +43,6 @@ enum class OutputFileType { stmt_html, }; -class HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") Output { -public: - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType assembly = OutputFileType::assembly; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType bitcode = OutputFileType::bitcode; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType c_header = OutputFileType::c_header; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType c_source = OutputFileType::c_source; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType compiler_log = OutputFileType::compiler_log; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType cpp_stub = OutputFileType::cpp_stub; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType featurization = OutputFileType::featurization; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType llvm_assembly = OutputFileType::llvm_assembly; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType object = OutputFileType::object; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType python_extension = OutputFileType::python_extension; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType pytorch_wrapper = OutputFileType::pytorch_wrapper; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType registration = OutputFileType::registration; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType schedule = OutputFileType::schedule; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType static_library = OutputFileType::static_library; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType stmt = OutputFileType::stmt; - HALIDE_ATTRIBUTE_DEPRECATED("Use OutputFileType instead of Output") - static constexpr OutputFileType stmt_html = OutputFileType::stmt_html; -}; // namespace Output - /** Type of linkage a function in a lowered Halide module can have. Also controls whether auxiliary functions and metadata are generated. */ enum class LinkageType {