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.
This commit is contained in:
parent
ce284361a2
commit
96db551d06
@ -1,3 +1,7 @@
|
||||
2021-03-08 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* eval.c: Merge "namespace" scopes.
|
||||
|
||||
2021-03-08 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* parser-defs.h (struct expr_builder) <expr_builder>: Inline.
|
||||
|
10
gdb/eval.c
10
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,
|
||||
|
Loading…
Reference in New Issue
Block a user