aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:43 -0700
commit96db551d0627d1a3dcb5d0117a8b72e6c2658e0e (patch)
treefab5759821936696f20e9f20f0d27ac96da16e49 /gdb/eval.c
parentce284361a2b8c928df94acdb9afd005242140bb1 (diff)
downloadgdb-96db551d0627d1a3dcb5d0117a8b72e6c2658e0e.zip
gdb-96db551d0627d1a3dcb5d0117a8b72e6c2658e0e.tar.gz
gdb-96db551d0627d1a3dcb5d0117a8b72e6c2658e0e.tar.bz2
Merge namespace scopes in eval.c
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-03-08 Tom Tromey <tom@tromey.com> * eval.c: Merge "namespace" scopes.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 4c60223..3ea814f 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2639,11 +2639,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)
@@ -2826,11 +2821,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,