From 7af7e9b5d8f9dd8f994d59923158d24d77a54bbe Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 Jan 2019 13:43:16 -0700 Subject: [PATCH] Remove a comment in compile/compile-cplus-types.c The include sorter can't handle multi-line comments on the same line as a #include. This patch removes the only such comment. In general I think these sorts of comments do not provide much value: more often than not, I find that the comment is obsolete in one way or another, and so the include sorter removes them in most cases. gdb/ChangeLog 2019-01-22 Tom Tromey * compile/compile-cplus-types.c: Remove a comment by #include. --- gdb/ChangeLog | 4 ++++ gdb/compile/compile-cplus-types.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d557d43137..9c1ea0b82e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-01-22 Tom Tromey + + * compile/compile-cplus-types.c: Remove a comment by #include. + 2019-01-22 Tom Tromey * compile/gcc-c-plugin.h: Include compile-internal.h. diff --git a/gdb/compile/compile-cplus-types.c b/gdb/compile/compile-cplus-types.c index 97c4d3c707..330589c796 100644 --- a/gdb/compile/compile-cplus-types.c +++ b/gdb/compile/compile-cplus-types.c @@ -32,8 +32,7 @@ #include "block.h" #include "gdbcmd.h" #include "c-lang.h" -#include "compile-c.h" /* Included for c_get_range_decl_name - et al. */ +#include "compile-c.h" #include /* Default compile flags for C++. */ -- 2.34.1