[PATCH 199/203] Merge namespace scopes in eval.c
Tom Tromey
tom@tromey.com
Fri Jan 1 21:47:19 GMT 2021
The big deletion patch left some identical namespace scopes sitting
next to one another. This patch removes the redundant "namespace
expr"s.
gdb/ChangeLog
2021-01-01 Tom Tromey <tom@tromey.com>
* eval.c: Merge "namespace" scopes.
---
gdb/ChangeLog | 4 ++++
gdb/eval.c | 10 ----------
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/gdb/eval.c b/gdb/eval.c
index 1f87748e80b..4d467cd436d 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2618,11 +2618,6 @@ unop_memval_type_operation::evaluate_for_address (struct expression *exp,
std::get<1> (m_storage)->evaluate (nullptr, exp, noside));
}
-}
-
-namespace expr
-{
-
value *
var_value_operation::evaluate_for_address (struct expression *exp,
enum noside noside)
@@ -2803,11 +2798,6 @@ var_value_operation::evaluate_for_sizeof (struct expression *exp,
return evaluate_subexp_for_sizeof_base (exp, type);
}
-}
-
-namespace expr
-{
-
value *
var_msym_value_operation::evaluate_for_cast (struct type *to_type,
struct expression *exp,
--
2.26.2
More information about the Gdb-patches
mailing list