diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-11-25 09:34:01 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-11-25 09:34:01 +0000 |
commit | 1e2c9a2761097a6758b6aaaf612d629aa7e9febf (patch) | |
tree | 345eb93e4734177027f079ff7a64993fecb368d8 /libcpp | |
parent | d3e763efcb85d2b5967aeb3178567e435e796420 (diff) | |
download | gcc-1e2c9a2761097a6758b6aaaf612d629aa7e9febf.zip gcc-1e2c9a2761097a6758b6aaaf612d629aa7e9febf.tar.gz gcc-1e2c9a2761097a6758b6aaaf612d629aa7e9febf.tar.bz2 |
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 1443083..307d0a2 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,29 @@ +2020-11-24 Nathan Sidwell <nathan@acm.org> + + * include/cpplib.h (struct cpp_hashnode): Add deferred field. + (cpp_set_deferred_macro): Define. + (cpp_get_deferred_macro): Declare. + (cpp_macro_definition): Reformat, add overload. + (cpp_macro_definition_location): Deal with deferred macro. + (cpp_alloc_token_string, cpp_compare_macro): Declare. + * internal.h (_cpp_notify_macro_use): Return bool + (_cpp_maybe_notify_macro_use): Likewise. + * directives.c (do_undef): Check macro is not undef before + warning. + (do_ifdef, do_ifndef): Deal with deferred macro. + * expr.c (parse_defined): Likewise. + * lex.c (cpp_allocate_token_string): Break out of ... + (create_literal): ... here. Call it. + (cpp_maybe_module_directive): Deal with deferred macro. + * macro.c (cpp_get_token_1): Deal with deferred macro. + (warn_of_redefinition): Deal with deferred macro. + (compare_macros): Rename to ... + (cpp_compare_macro): ... here. Make extern. + (cpp_get_deferred_macro): New. + (_cpp_notify_macro_use): Deal with deferred macro, return bool + indicating definedness. + (cpp_macro_definition): Deal with deferred macro. + 2020-11-19 Nathan Sidwell <nathan@acm.org> * include/cpplib.h (enum cpp_main_search): New. |