libcc1 base API: add set_verbose and new version of compile
commit2bff1a27c02e9ef0f11fa811f54ccf6161bffa73
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2017 01:00:51 +0000 (31 01:00 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Jan 2017 01:00:51 +0000 (31 01:00 +0000)
tree527bb62c7f3019515db3568acbcb3b35bd60842e
parenta7fcd0459590962aca8e5a0c8022d57cb2b21b9d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245048 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/gcc-interface.h
libcc1/ChangeLog
libcc1/libcc1.cc