diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-03 22:14:47 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-03 22:14:47 +0000 |
commit | f63da8d393e342c83d233886c58d2de39249a8a6 (patch) | |
tree | 29df02f871698c716e4d5eefae48e0e4cf22f599 /gcc/langhooks.c | |
parent | 76a6451b75db81811cf67469d96f5bd925ec8555 (diff) | |
download | gcc-f63da8d393e342c83d233886c58d2de39249a8a6.tar.gz |
* opts.c (decode_options): Do language-specific initialization for
the global diagnostic context.
* langhooks-def.h (lhd_initialize_diagnostics): Declare.
(LANG_HOOKS_INITIALIZE_DIAGNOSTITCS): New macro.
(LANG_HOOKS_INITIALIZER): Adjust.
* langhooks.h (struct lang_hooks): Add new field
initialize_diagnostics.
* langhooks.c (lhd_initialize_diagnostics): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70129 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 124f38b7aa9..b4c160f2528 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -479,4 +479,10 @@ write_global_declarations (void) free (vec); } +/* Called to perform language-specific initialization of CTX. */ +void +lhd_initialize_diagnostics (struct diagnostic_context *ctx ATTRIBUTE_UNUSED) +{ +} + #include "gt-langhooks.h" |