https://gcc.gnu.org/g:94389da3bd1ac35f27fe88019fe8039726e73373
commit r16-2815-g94389da3bd1ac35f27fe88019fe8039726e73373 Author: Marc Poulhiès <d...@kataplop.net> Date: Tue May 13 21:28:16 2025 +0200 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 <d...@kataplop.net> Diff: --- gcc/rust/rust-attribs.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gcc/rust/rust-attribs.cc b/gcc/rust/rust-attribs.cc index 195dfbd57887..a98c1fab0403 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) \ { \