summaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-17 23:07:54 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-17 23:07:54 +0000
commit474da1345c403a745ed68bce75fd3c60e028a6ae (patch)
tree87b552c0f355829468309897fcd610f3e14ddc58 /gcc/cp/cp-tree.h
parent9affc817ced5c7bc9d16ccacee129bea8d647b80 (diff)
downloadgcc-474da1345c403a745ed68bce75fd3c60e028a6ae.tar.gz
* cp-tree.h (back_end_hook): New variable.
* decl2.c (back_end_hook): Define it. (finish_file): If it's non-NULL, call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 91ce27299d2..6c585d4252a 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -613,6 +613,12 @@ extern int flag_permissive;
extern int flag_access_control;
+/* If this variable is defined to a non-NULL value, it will be called
+ after the file has been completely parsed. The argument will be
+ the GLOBAL_NAMESPACE. */
+
+extern void (*back_end_hook) PROTO((tree));
+
/* C++ language-specific tree codes. */
#define DEFTREECODE(SYM, NAME, TYPE, LENGTH) SYM,