From: Marc Poulhiès Date: Tue, 13 May 2025 19:28:16 +0000 (+0200) Subject: gccrs: remove now useless clang-format comments X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94389da3bd1ac35f27fe88019fe8039726e73373;p=thirdparty%2Fgcc.git gccrs: remove now useless clang-format comments Config has been updated upstream to correctly indent declaration. gcc/rust/ChangeLog: * rust-attribs.cc (handle_hot_attribute): Remove clang-format comment. Signed-off-by: Marc Poulhiès --- diff --git a/gcc/rust/rust-attribs.cc b/gcc/rust/rust-attribs.cc index 195dfbd5788..a98c1fab040 100644 --- a/gcc/rust/rust-attribs.cc +++ b/gcc/rust/rust-attribs.cc @@ -41,10 +41,6 @@ along with GCC; see the file COPYING3. If not see extern const struct scoped_attribute_specs grs_langhook_gnu_attribute_table; extern const struct scoped_attribute_specs grs_langhook_common_attribute_table; -/* clang-format off */ -/* Disable clang-format because it insists in having the return type on a - single line (that's for definitions) */ - /* Internal attribute handlers for built-in functions. */ static tree handle_noreturn_attribute (tree *, tree, tree, int, bool *); static tree handle_leaf_attribute (tree *, tree, tree, int, bool *); @@ -64,8 +60,6 @@ static tree handle_omp_declare_simd_attribute (tree *, tree, tree, int, bool *); static tree handle_cold_attribute (tree *, tree, tree, int, bool *); static tree handle_hot_attribute (tree *, tree, tree, int, bool *); -/* clang-format on */ - /* Helper to define attribute exclusions. */ #define ATTR_EXCL(name, function, type, variable) \ { \