]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: remove now useless clang-format comments
authorMarc Poulhiès <dkm@kataplop.net>
Tue, 13 May 2025 19:28:16 +0000 (21:28 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 5 Aug 2025 14:36:42 +0000 (16:36 +0200)
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 <dkm@kataplop.net>
gcc/rust/rust-attribs.cc

index 195dfbd5788723c627b513153d64c7b6a09c99b1..a98c1fab04034218b093fb39281eaa4bc049fca1 100644 (file)
@@ -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)                              \
   {                                                                            \