From: Nathan Sidwell Date: Thu, 11 Jan 2018 16:57:31 +0000 (+0000) Subject: [C++ PATCH] kill unused enum X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a3af45c6b932a9697484c681b35b1dd87efce65;p=gcc.git [C++ PATCH] kill unused enum https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00923.html * method.c (enum mangling_flags): Delete long-dead enum. From-SVN: r256543 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index af3711253b3..8731982779f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2018-01-11 Nathan Sidwell + + * method.c (enum mangling_flags): Delete long-dead enum. + 2018-01-10 Paolo Carlini * parser.c (cp_parser_std_attribute_spec): When diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 55c84f12399..5bc830cd820 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -32,22 +32,6 @@ along with GCC; see the file COPYING3. If not see #include "toplev.h" #include "common/common-target.h" -/* Various flags to control the mangling process. */ - -enum mangling_flags -{ - /* No flags. */ - mf_none = 0, - /* The thing we are presently mangling is part of a template type, - rather than a fully instantiated type. Therefore, we may see - complex expressions where we would normally expect to see a - simple integer constant. */ - mf_maybe_uninstantiated = 1, - /* When mangling a numeric value, use the form `_XX_' (instead of - just `XX') if the value has more than one digit. */ - mf_use_underscores_around_value = 2 -}; - static void do_build_copy_assign (tree); static void do_build_copy_constructor (tree); static tree make_alias_for_thunk (tree);