Skip to content

Commit ae6fd63

Browse files
author
Daniel Kroening
committed
better name for adjust_method_type
1 parent 8ff9728 commit ae6fd63

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/cpp/cpp_declarator_converter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ symbolt &cpp_declarator_convertert::convert(
124124
{
125125
// adjust type if it's a non-static member function
126126
if(final_type.id()==ID_code)
127-
cpp_typecheck.adjust_method_type(
127+
cpp_typecheck.add_this_to_method_type(
128128
scope->identifier, final_type, method_qualifier);
129129

130130
get_final_identifier();

src/cpp/cpp_typecheck.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class cpp_typecheckt:public c_typecheck_baset
405405
const typet &method_qualifier,
406406
exprt &value);
407407

408-
void adjust_method_type(
408+
void add_this_to_method_type(
409409
const irep_idt &compound_identifier,
410410
typet &method_type,
411411
const typet &method_qualifier);

src/cpp/cpp_typecheck_compound_type.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ void cpp_typecheckt::typecheck_member_function(
13961396
}
13971397
else
13981398
{
1399-
adjust_method_type(
1399+
add_this_to_method_type(
14001400
compound_identifier,
14011401
type,
14021402
method_qualifier);
@@ -1458,7 +1458,7 @@ void cpp_typecheckt::typecheck_member_function(
14581458

14591459
/*******************************************************************\
14601460
1461-
Function: cpp_typecheckt::adjust_method_type
1461+
Function: cpp_typecheckt::add_this_to_method_type
14621462
14631463
Inputs:
14641464
@@ -1468,7 +1468,7 @@ Function: cpp_typecheckt::adjust_method_type
14681468
14691469
\*******************************************************************/
14701470

1471-
void cpp_typecheckt::adjust_method_type(
1471+
void cpp_typecheckt::add_this_to_method_type(
14721472
const irep_idt &compound_symbol,
14731473
typet &type,
14741474
const typet &method_qualifier)

0 commit comments

Comments
 (0)