@@ -338,6 +338,7 @@ codet character_refine_preprocesst::convert_high_surrogate(
338338exprt character_refine_preprocesst::expr_of_is_ascii_lower_case (
339339 const exprt &chr, const typet &type)
340340{
341+ (void )type; // unused parameter
341342 return in_interval_expr (chr, ' a' , ' z' );
342343}
343344
@@ -348,6 +349,7 @@ exprt character_refine_preprocesst::expr_of_is_ascii_lower_case(
348349exprt character_refine_preprocesst::expr_of_is_ascii_upper_case (
349350 const exprt &chr, const typet &type)
350351{
352+ (void )type; // unused parameter
351353 return in_interval_expr (chr, ' A' , ' Z' );
352354}
353355
@@ -402,6 +404,7 @@ codet character_refine_preprocesst::convert_is_alphabetic(
402404exprt character_refine_preprocesst::expr_of_is_bmp_code_point (
403405 const exprt &chr, const typet &type)
404406{
407+ (void )type; // unused parameter
405408 return and_exprt (
406409 binary_relation_exprt (chr, ID_le, from_integer (0xFFFF , chr.type ())),
407410 binary_relation_exprt (chr, ID_ge, from_integer (0 , chr.type ())));
@@ -424,6 +427,7 @@ codet character_refine_preprocesst::convert_is_bmp_code_point(
424427exprt character_refine_preprocesst::expr_of_is_defined (
425428 const exprt &chr, const typet &type)
426429{
430+ (void )type; // unused parameter
427431 // The following intervals are undefined in unicode, according to
428432 // the Unicode Character Database: http://www.unicode.org/Public/UCD/latest/
429433 exprt::operandst intervals;
@@ -488,6 +492,7 @@ codet character_refine_preprocesst::convert_is_defined_int(
488492exprt character_refine_preprocesst::expr_of_is_digit (
489493 const exprt &chr, const typet &type)
490494{
495+ (void )type; // unused parameter
491496 exprt latin_digit=in_interval_expr (chr, ' 0' , ' 9' );
492497 exprt arabic_indic_digit=in_interval_expr (chr, 0x660 , 0x669 );
493498 exprt extended_digit=in_interval_expr (chr, 0x6F0 , 0x6F9 );
@@ -526,6 +531,7 @@ codet character_refine_preprocesst::convert_is_digit_int(
526531exprt character_refine_preprocesst::expr_of_is_high_surrogate (
527532 const exprt &chr, const typet &type)
528533{
534+ (void )type; // unused parameter
529535 return in_interval_expr (chr, 0xD800 , 0xDBFF );
530536}
531537
@@ -550,6 +556,7 @@ codet character_refine_preprocesst::convert_is_high_surrogate(
550556exprt character_refine_preprocesst::expr_of_is_identifier_ignorable (
551557 const exprt &chr, const typet &type)
552558{
559+ (void )type; // unused parameter
553560 or_exprt ignorable (
554561 in_interval_expr (chr, 0x0000 , 0x0008 ),
555562 or_exprt (
@@ -777,6 +784,7 @@ codet character_refine_preprocesst::convert_is_low_surrogate(
777784exprt character_refine_preprocesst::expr_of_is_mirrored (
778785 const exprt &chr, const typet &type)
779786{
787+ (void )type; // unused parameter
780788 return in_list_expr (chr, {0x28 , 0x29 , 0x3C , 0x3E , 0x5B , 0x5D , 0x7B , 0x7D });
781789}
782790
@@ -819,6 +827,7 @@ codet character_refine_preprocesst::convert_is_space(conversion_inputt &target)
819827exprt character_refine_preprocesst::expr_of_is_space_char (
820828 const exprt &chr, const typet &type)
821829{
830+ (void )type; // unused parameter
822831 std::list<mp_integer> space_characters=
823832 {0x20 , 0x00A0 , 0x1680 , 0x202F , 0x205F , 0x3000 , 0x2028 , 0x2029 };
824833 exprt condition0=in_list_expr (chr, space_characters);
@@ -853,6 +862,7 @@ codet character_refine_preprocesst::convert_is_space_char_int(
853862exprt character_refine_preprocesst::expr_of_is_supplementary_code_point (
854863 const exprt &chr, const typet &type)
855864{
865+ (void )type; // unused parameter
856866 return binary_relation_exprt (chr, ID_gt, from_integer (0xFFFF , chr.type ()));
857867}
858868
@@ -873,6 +883,7 @@ codet character_refine_preprocesst::convert_is_supplementary_code_point(
873883exprt character_refine_preprocesst::expr_of_is_surrogate (
874884 const exprt &chr, const typet &type)
875885{
886+ (void )type; // unused parameter
876887 return in_interval_expr (chr, 0xD800 , 0xDFFF );
877888}
878889
@@ -909,6 +920,7 @@ codet character_refine_preprocesst::convert_is_surrogate_pair(
909920exprt character_refine_preprocesst::expr_of_is_title_case (
910921 const exprt &chr, const typet &type)
911922{
923+ (void )type; // unused parameter
912924 std::list<mp_integer>title_case_chars=
913925 {0x01C5 , 0x01C8 , 0x01CB , 0x01F2 , 0x1FBC , 0x1FCC , 0x1FFC };
914926 exprt::operandst conditions;
@@ -946,6 +958,7 @@ codet character_refine_preprocesst::convert_is_title_case_int(
946958exprt character_refine_preprocesst::expr_of_is_letter_number (
947959 const exprt &chr, const typet &type)
948960{
961+ (void )type; // unused parameter
949962 // The following set of characters is the general category "Nl" in the
950963 // Unicode specification.
951964 exprt cond0=in_interval_expr (chr, 0x16EE , 0x16F0 );
@@ -1059,6 +1072,7 @@ codet character_refine_preprocesst::convert_is_upper_case_int(
10591072exprt character_refine_preprocesst::expr_of_is_valid_code_point (
10601073 const exprt &chr, const typet &type)
10611074{
1075+ (void )type; // unused parameter
10621076 return binary_relation_exprt (chr, ID_le, from_integer (0x10FFFF , chr.type ()));
10631077}
10641078
@@ -1083,6 +1097,7 @@ codet character_refine_preprocesst::convert_is_valid_code_point(
10831097exprt character_refine_preprocesst::expr_of_is_whitespace (
10841098 const exprt &chr, const typet &type)
10851099{
1100+ (void )type; // unused parameter
10861101 exprt::operandst conditions;
10871102 std::list<mp_integer> space_characters=
10881103 {0x20 , 0x1680 , 0x205F , 0x3000 , 0x2028 , 0x2029 };
0 commit comments