This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/5] Move char_type_p prototype into c-common.h
- From: Jeff Law <law at redhat dot com>
- To: Xi Ruoyao <ryxi at stu dot xidian dot edu dot cn>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Apr 2017 14:27:29 -0600
- Subject: Re: [PATCH 1/5] Move char_type_p prototype into c-common.h
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6A2D19D416
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6A2D19D416
- References: <1487761260.2882.64.camel@stu.xidian.edu.cn>
On 02/22/2017 04:01 AM, Xi Ruoyao wrote:
This patch moves prototype of char_type_p into c-common.h, so we can
use it in c-family/*.
gcc/ChangeLog:
2017-02-22 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
* c-family/c-common.h (char_type_p): New prototype
* c/c-typeck.c (char_type_p): Make the function extern
* cp/cp-tree.h (char_type_p): Remove prototype
* cp/tree.c (char_type_p): Change the return type to bool
This is OK for the trunk once all 5 patches are approved.
jeff