[2/9] Remove a comment in compile/compile-cplus-types.c

Message ID 20190122080445.32658-3-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Jan. 22, 2019, 8:04 a.m. UTC
  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-21  Tom Tromey  <tom@tromey.com>

	* 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(-)
  

Patch

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 <algorithm>
 
 /* Default compile flags for C++.  */