diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-19 23:04:36 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-19 23:04:36 +0000 |
commit | a0d8c66de83965dee8f69670a1363f4f9c5a1fc4 (patch) | |
tree | 834cdfea4b4cd449e3fa6bf0ff16680067dece14 /gcc/langhooks.h | |
parent | abeb157a337a03b4d549367533a21d6a6f8aa312 (diff) | |
download | gcc-a0d8c66de83965dee8f69670a1363f4f9c5a1fc4.tar.gz |
Missed part of my patch:
* langhooks-def.h (lhd_decl_uninit): Declare.
(LANG_HOOKS_DECL_UNINIT): New macro.
(LANG_HOOKS_INITIALIZER): Adjust.
* langhooks.h (struct lang_hooks): Add new field
decl_uninit.
* langhooks.c (lhd_decl_uninit): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70580 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index 4ac0250164c..e097ee224aa 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -361,6 +361,10 @@ struct lang_hooks semantics in cases that it doesn't want to handle specially. */ tree (*expr_size) (tree); + /* Called from uninitialized_vars_warning to find out if a variable is + uninitialized based on DECL_INITIAL. */ + bool (*decl_uninit) (tree); + /* Pointers to machine-independent attribute tables, for front ends using attribs.c. If one is NULL, it is ignored. Respectively, a table of attributes specific to the language, a table of |