Skip to content

Commit dcc6bf8

Browse files
dkmpowerboat9
authored andcommitted
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 <[email protected]>
1 parent 037858d commit dcc6bf8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gcc/rust/rust-attribs.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ along with GCC; see the file COPYING3. If not see
4141
extern const struct scoped_attribute_specs grs_langhook_gnu_attribute_table;
4242
extern const struct scoped_attribute_specs grs_langhook_common_attribute_table;
4343

44-
/* clang-format off */
45-
/* Disable clang-format because it insists in having the return type on a
46-
single line (that's for definitions) */
47-
4844
/* Internal attribute handlers for built-in functions. */
4945
static tree handle_noreturn_attribute (tree *, tree, tree, int, bool *);
5046
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 *);
6460
static tree handle_cold_attribute (tree *, tree, tree, int, bool *);
6561
static tree handle_hot_attribute (tree *, tree, tree, int, bool *);
6662

67-
/* clang-format on */
68-
6963
/* Helper to define attribute exclusions. */
7064
#define ATTR_EXCL(name, function, type, variable) \
7165
{ \

0 commit comments

Comments
 (0)