diff options
author | Andres Tiraboschi <andres.tiraboschi@tallertechnologies.com> | 2015-06-03 13:27:11 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2015-06-03 13:27:11 +0000 |
commit | 9adef16963cbe11c3b3413f1822deabf63ccd2c4 (patch) | |
tree | 329fd87cc105897690e082dad29a77825d113933 /libgcc | |
parent | 8dd677a510c65798893a3f859b0fdc31ad04bf88 (diff) |
* doc/plugins.texi (enum plugin_event): New event.
* plugin.c (register_callback): Handle PLUGIN_START_PARSE_FUNCTION
and PLUGIN_FINISH_FUNCTION.
* plugin.def (PLUGIN_START_PARSE_FUNCTION): Add plugin event
(PLUGIN_FINISH_PARSE_FUNCTION): Likewise.
cp/
* decl.c (start_function): Call plugin before parsing.
(finish_function): Call plugin after parsing.
c/
* c-decl.c (start_function): Call plugin before parsing.
(finish_function): Call plugin after parsing.
testsuite/
* g++.dg/plugin/plugin.exp: Add def-plugin-test.C.
* g++.dg/plugin/def_plugin.c: New file.
* g++.dg/plugin/def-plugin-test.C: New file.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@224078 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions