diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-11 22:39:37 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-11 22:39:37 +0000 |
commit | daa5a8a3cf9b04cd9af5544c61e12e6dca14f870 (patch) | |
tree | ce150cc07d1bbf63f91af92c51be9976c9032f53 /gcc/tree-ssa-dom.c | |
parent | 5a45f1493b439382038f66e2fa06dd8d17f37ee8 (diff) | |
download | gcc-daa5a8a3cf9b04cd9af5544c61e12e6dca14f870.tar.gz |
replace several uses of the anon namespace with GCC_FINAL
gcc/ChangeLog:
2015-08-11 Trevor Saunders <tbsaunde@tbsaunde.org>
* compare-elim.c, dce.c, dse.c, gimple-ssa-isolate-paths.c,
gimple-ssa-strength-reduction.c, graphite.c, init-regs.c,
ipa-pure-const.c, ipa-visibility.c, ipa.c, mode-switching.c,
omp-low.c, reorg.c, sanopt.c, trans-mem.c, tree-eh.c,
tree-if-conv.c, tree-ssa-copyrename.c, tree-ssa-dce.c,
tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c,
tree-ssa-sink.c, tree-ssanames.c, tree-stdarg.c, tree-tailcall.c,
tree-vect-generic.c, tree.c, ubsan.c, var-tracking.c,
vtable-verify.c, web.c: Use GCC_FINAL instead of the anonymous
namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 3eb003c728a..a2742377e41 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -1131,9 +1131,7 @@ private: every new symbol exposed, its corresponding bit will be set in VARS_TO_RENAME. */ -namespace { - -const pass_data pass_data_dominator = +static const pass_data pass_data_dominator = { GIMPLE_PASS, /* type */ "dom", /* name */ @@ -1146,7 +1144,7 @@ const pass_data pass_data_dominator = ( TODO_cleanup_cfg | TODO_update_ssa ), /* todo_flags_finish */ }; -class pass_dominator : public gimple_opt_pass +class pass_dominator GCC_FINAL : public gimple_opt_pass { public: pass_dominator (gcc::context *ctxt) @@ -1299,8 +1297,6 @@ pass_dominator::execute (function *fun) return 0; } -} // anon namespace - gimple_opt_pass * make_pass_dominator (gcc::context *ctxt) { |