From patchwork Tue Jan 22 08:04:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 31150 Received: (qmail 82252 invoked by alias); 22 Jan 2019 08:04:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 82227 invoked by uid 89); 22 Jan 2019 08:04:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sorter, Hx-languages-length:1076 X-HELO: gateway24.websitewelcome.com Received: from gateway24.websitewelcome.com (HELO gateway24.websitewelcome.com) (192.185.51.209) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Jan 2019 08:04:50 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway24.websitewelcome.com (Postfix) with ESMTP id D7F5D764DF for ; Tue, 22 Jan 2019 02:04:48 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id lr3Agfion2qH7lr3AgI3ef; Tue, 22 Jan 2019 02:04:48 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FdmCgRxqVumGdClP6mzgnvuZCR3Fh/A4L3Jo6/NzUng=; b=Rz+r5FiyqNzQV3ymDA5WZUsqr8 Yp5/m57AVBfXntaJ1R8bXuYE3VIUfg9D7F2DKoVkB5scwQCNGSom48VMaYb2LzlSSa/wqy/k9AjCp zU7dPjqpvSN6uRy7+JqSZ45b6; Received: from 75-166-72-210.hlrn.qwest.net ([75.166.72.210]:60356 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1glr3A-0037XS-DF; Tue, 22 Jan 2019 02:04:48 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 2/9] Remove a comment in compile/compile-cplus-types.c Date: Tue, 22 Jan 2019 01:04:38 -0700 Message-Id: <20190122080445.32658-3-tom@tromey.com> In-Reply-To: <20190122080445.32658-1-tom@tromey.com> References: <20190122080445.32658-1-tom@tromey.com> 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 * 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/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++. */