Skip to content

Remove unused paramter in cpp_typecheck_resolvet #2414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/cpp/cpp_typecheck_resolve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ cpp_typecheck_resolvet::cpp_typecheck_resolvet(cpp_typecheckt &_cpp_typecheck):

void cpp_typecheck_resolvet::convert_identifiers(
const cpp_scopest::id_sett &id_set,
const wantt want,
const cpp_typecheck_fargst &fargs,
resolve_identifierst &identifiers)
{
Expand All @@ -47,7 +46,7 @@ void cpp_typecheck_resolvet::convert_identifiers(
it++)
{
const cpp_idt &identifier=**it;
exprt e=convert_identifier(identifier, want, fargs);
exprt e=convert_identifier(identifier, fargs);

if(e.is_not_nil())
{
Expand Down Expand Up @@ -210,7 +209,6 @@ exprt cpp_typecheck_resolvet::convert_template_parameter(

exprt cpp_typecheck_resolvet::convert_identifier(
const cpp_idt &identifier,
const wantt want,
const cpp_typecheck_fargst &fargs)
{
if(identifier.id_class==cpp_scopet::id_classt::TEMPLATE_PARAMETER)
Expand Down Expand Up @@ -1516,7 +1514,7 @@ exprt cpp_typecheck_resolvet::resolve(
{
// methods and functions
convert_identifiers(
id_set, want, fargs, identifiers);
id_set, fargs, identifiers);

apply_template_args(
identifiers, template_args, fargs);
Expand All @@ -1525,7 +1523,7 @@ exprt cpp_typecheck_resolvet::resolve(
else
{
convert_identifiers(
id_set, want, fargs, identifiers);
id_set, fargs, identifiers);
}

// change types into constructors if we want a constructor
Expand Down
2 changes: 0 additions & 2 deletions src/cpp/cpp_typecheck_resolve.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class cpp_typecheck_resolvet

void convert_identifiers(
const cpp_scopest::id_sett &id_set,
const wantt want,
const cpp_typecheck_fargst &fargs,
resolve_identifierst &identifiers);

Expand All @@ -58,7 +57,6 @@ class cpp_typecheck_resolvet

exprt convert_identifier(
const cpp_idt &id,
const wantt want,
const cpp_typecheck_fargst &fargs);

void disambiguate_functions(
Expand Down