This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5] Move char_type_p prototype into c-common.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]