ptree.c (cxx_print_type): Use formatting markup for integers when printing template...
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 15 Mar 2007 13:51:09 +0000 (13:51 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Thu, 15 Mar 2007 13:51:09 +0000 (13:51 +0000)
commit30bcc028906e873ba60715aaed036248e1420e10
tree7001b30fe967c813936aad21b5158797ce06906f
parent868d75dbdc33cfb040fcd93d0f525ab70eb43491
ptree.c (cxx_print_type): Use formatting markup for integers when printing template parameter...

2007-03-15  Douglas Gregor  <doug.gregor@gmail.com>

* ptree.c (cxx_print_type): Use formatting markup for integers
when printing template parameter index/level/orig level.
(cxx_print_xnode): Ditto.
* cp-tree.h (TEMPLATE_PARM_PARAMETER_PACK): Use TREE_LANG_FLAG_0.
(struct template_parm_index_s): Remove the PARAMETER_PACK member.
Make INDEX, LEVEL, and ORIG_LEVEL integers instead of
HOST_WIDE_INTs.
(struct saved_scope): Make X_PROCESSING_TEMPLATE_DECL an int,
rather than a HOST_WIDE_INT.
Turn X_PROCESSING_EXPLICIT_INSTANTIATION, SKIP_EVALUATION, and
NEED_POP_FUNCTION_CONTEXT into bool bitfields; reorder fields for
better bit-packing.
(struct language_function): Make RETURNS_VALUE, RETURNS_NULL,
RETURNS_ABNORMALLY, IN_FUNCTION_TRY_HANDLER, and
IN_BASE_INITIALIZER bool bitfields.
(struct cp_declarator): Make KIND a 4-bit field. Make
PARAMETER_PACK_P a bool bitfield just after KIND.
* pt.c (uses_parameter_packs): Destroy the pointer set.
(make_pack_expansion): Ditto.
(check_for_bare_parameter_packs): Ditto.
* name-lookup.c (push_to_top_level): Make need_pop a bool value.

From-SVN: r122955
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/pt.c
gcc/cp/ptree.c