From patchwork Mon Jun 28 19:05:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 57183 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 18BBDB6EEB for ; Tue, 29 Jun 2010 05:06:11 +1000 (EST) Received: (qmail 7539 invoked by alias); 28 Jun 2010 19:06:09 -0000 Received: (qmail 7463 invoked by uid 22791); 28 Jun 2010 19:06:08 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pw0-f47.google.com (HELO mail-pw0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Jun 2010 19:06:00 +0000 Received: by pwi10 with SMTP id 10so1285723pwi.20 for ; Mon, 28 Jun 2010 12:05:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.248.9 with SMTP id v9mr6414860wfh.6.1277751958422; Mon, 28 Jun 2010 12:05:58 -0700 (PDT) Received: by 10.142.234.16 with HTTP; Mon, 28 Jun 2010 12:05:58 -0700 (PDT) Date: Mon, 28 Jun 2010 12:05:58 -0700 Message-ID: Subject: [PATCH] Fix comment in c-family/c-common.h From: Andrew Pinski To: GCC Patches X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org I caught this comment fix when I was looking at c-common.h. diagnostic-core.h is now the file which contains error/warning/sorry rather than toplev.h. OK? Thanks, Andrew Pinski ChangeLog: * c-common.h: Update comment for the location change of the diagnostic functions. Index: c-family/c-common.h =================================================================== --- c-family/c-common.h (revision 161509) +++ c-family/c-common.h (working copy) @@ -28,9 +28,9 @@ along with GCC; see the file COPYING3. /* In order for the format checking to accept the C frontend diagnostic framework extensions, you must include this file before - toplev.h, not after. The C front end formats are a subset of those - for C++, so they are the appropriate set to use in common code; - cp-tree.h overrides this for C++. */ + diagnostic-core.h, not after. The C front end formats are a subset + of those for C++, so they are the appropriate set to use in common + code; cp-tree.h overrides this for C++. */ #ifndef GCC_DIAG_STYLE #define GCC_DIAG_STYLE __gcc_cdiag__ #endif