@@ -97,7 +97,7 @@ exprt remove_const_function_pointerst::replace_const_symbols(
97
97
{
98
98
if (expression.id ()==ID_symbol)
99
99
{
100
- if (is_expression_const (expression))
100
+ if (is_const_expression (expression))
101
101
{
102
102
const symbolt &symbol=
103
103
symbol_table.lookup (expression.get (ID_identifier));
@@ -540,7 +540,7 @@ bool remove_const_function_pointerst::try_resolve_expression(
540
540
else
541
541
{
542
542
resolved_expressions.push_back (simplified_expr);
543
- is_resolved_expression_const=is_expression_const (simplified_expr);
543
+ is_resolved_expression_const=is_const_expression (simplified_expr);
544
544
resolved=true ;
545
545
}
546
546
@@ -653,7 +653,7 @@ bool remove_const_function_pointerst::try_resolve_index_of(
653
653
{
654
654
all_possible_const=
655
655
all_possible_const &&
656
- is_type_const (potential_array_expr.type ().subtype ());
656
+ is_const_type (potential_array_expr.type ().subtype ());
657
657
658
658
if (potential_array_expr.id ()==ID_array)
659
659
{
@@ -953,10 +953,10 @@ Function: remove_const_function_pointerst::is_expression_const
953
953
954
954
\*******************************************************************/
955
955
956
- bool remove_const_function_pointerst::is_expression_const (
956
+ bool remove_const_function_pointerst::is_const_expression (
957
957
const exprt &expression) const
958
958
{
959
- return is_type_const (expression.type ());
959
+ return is_const_type (expression.type ());
960
960
}
961
961
962
962
/* ******************************************************************\
@@ -973,7 +973,7 @@ Function: remove_const_function_pointerst::is_type_const
973
973
974
974
\*******************************************************************/
975
975
976
- bool remove_const_function_pointerst::is_type_const (const typet &type) const
976
+ bool remove_const_function_pointerst::is_const_type (const typet &type) const
977
977
{
978
978
c_qualifierst qualifers (type);
979
979
if (type.id ()==ID_array)
0 commit comments