diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-01-11 16:57:31 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-01-11 16:57:31 +0000 |
commit | 2a3af45c6b932a9697484c681b35b1dd87efce65 (patch) | |
tree | 8b05a3d0ccfd0c4b23a1e002cc0bd9cea2517aa9 /gcc | |
parent | 346ac3a8a2de48d971c355cf82fe82421d2545b7 (diff) | |
download | gcc-2a3af45c6b932a9697484c681b35b1dd87efce65.zip gcc-2a3af45c6b932a9697484c681b35b1dd87efce65.tar.gz gcc-2a3af45c6b932a9697484c681b35b1dd87efce65.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/method.c | 16 |
2 files changed, 4 insertions, 16 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index af37112..8731982 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2018-01-11 Nathan Sidwell <nathan@acm.org> + + * method.c (enum mangling_flags): Delete long-dead enum. + 2018-01-10 Paolo Carlini <paolo.carlini@oracle.com> * parser.c (cp_parser_std_attribute_spec): When diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 55c84f1..5bc830c 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); |