This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262555 - in /branches/c++-name-lookup: ChangeL...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 11 Jul 2018 14:46:07 -0000
- Subject: r262555 - in /branches/c++-name-lookup: ChangeL...
Author: nathan
Date: Wed Jul 11 14:46:07 2018
New Revision: 262555
URL: https://gcc.gnu.org/viewcvs?rev=262555&root=gcc&view=rev
Log:
Add cpp_macro_kind
libcpp/
* include/cpp-id-data.h (enum cpp_macro_kind): New.
(struct cpp_macro): Replace traditional with kind. Adjust GTY.
* macro.c (create_iso_definition): Set kind.
* traditional.c (push_replacement_text): Assert trad.
(save_replacement_text): Set kind.
Modified:
branches/c++-name-lookup/ChangeLog.name-lookup
branches/c++-name-lookup/libcpp/include/cpp-id-data.h
branches/c++-name-lookup/libcpp/macro.c
branches/c++-name-lookup/libcpp/traditional.c