r245048 - in /trunk: include/ChangeLog include/...

aoliva@gcc.gnu.org aoliva@gcc.gnu.org
Tue Jan 31 01:00:00 GMT 2017


Author: aoliva
Date: Tue Jan 31 01:00:51 2017
New Revision: 245048

URL: https://gcc.gnu.org/viewcvs?rev=245048&root=gcc&view=rev
Log:
libcc1 base API: add set_verbose and new version of compile

for  include/ChangeLog

	* gcc-interface.h (enum gcc_base_api_version): Add comment to
	GCC_FE_VERSION_1.
	(struct gcc_base_vtable): Rename compile to compile_v0.
	Update comment for compile.  New methods set_verbose and
	compile.

for  libcc1/ChangeLog

	* libcc1.cc: Include intl.h.
	(struct libcc1): Add field verbose.
	(libcc1::libcc1): Initialize it.
	(libcc1_set_verbose): New function.
	(libcc1_set_arguments): Print messages for VERBOSE.
	(libcc1_compile): Remove parameter verbose.  Use VERBOSE from
	SELF.
	(libcc1_compile_v0): New function.
	(vtable): Use libcc1_compile_v0 and add libcc1_compile and
	libcc1_set_verbose.

Modified:
    trunk/include/ChangeLog
    trunk/include/gcc-interface.h
    trunk/libcc1/ChangeLog
    trunk/libcc1/libcc1.cc



More information about the Gcc-cvs mailing list