File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,15 @@ bool remove_function_pointerst::arg_is_type_compatible(
131
131
return true ;
132
132
133
133
// any integer-vs-enum-vs-pointer is ok
134
- if (call_type.id ()==ID_signedbv ||
135
- call_type.id ()==ID_unsigned ||
136
- call_type.id ()==ID_bool ||
137
- call_type.id ()==ID_pointer ||
138
- call_type.id ()==ID_c_enum ||
139
- call_type.id ()==ID_c_enum_tag)
134
+ if (
135
+ call_type.id () == ID_signedbv || call_type.id () == ID_unsigned ||
136
+ call_type.id () == ID_bool || call_type.id () == ID_c_bool ||
137
+ call_type.id () == ID_c_enum_tag || call_type.id () == ID_c_enum ||
138
+ call_type.id () == ID_pointer)
140
139
{
141
140
return function_type.id () == ID_signedbv ||
142
141
function_type.id () == ID_unsigned || function_type.id () == ID_bool ||
142
+ function_type.id () == ID_c_bool ||
143
143
function_type.id () == ID_pointer ||
144
144
function_type.id () == ID_c_enum ||
145
145
function_type.id () == ID_c_enum_tag;
You can’t perform that action at this time.
0 commit comments