@@ -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;
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;
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;
405408 binary_relation_exprt is_bmp (chr, ID_le, from_integer (0xFFFF , chr.type ()));
406409 return is_bmp;
407410}
@@ -423,6 +426,7 @@ codet character_refine_preprocesst::convert_is_bmp_code_point(
423426exprt character_refine_preprocesst::expr_of_is_defined (
424427 const exprt &chr, const typet &type)
425428{
429+ (void )type;
426430 // The following intervals are undefined in unicode, according to
427431 // the Unicode Character Database: http://www.unicode.org/Public/UCD/latest/
428432 exprt::operandst intervals;
@@ -487,6 +491,7 @@ codet character_refine_preprocesst::convert_is_defined_int(
487491exprt character_refine_preprocesst::expr_of_is_digit (
488492 const exprt &chr, const typet &type)
489493{
494+ (void )type;
490495 exprt latin_digit=in_interval_expr (chr, ' 0' , ' 9' );
491496 exprt arabic_indic_digit=in_interval_expr (chr, 0x660 , 0x669 );
492497 exprt extended_digit=in_interval_expr (chr, 0x6F0 , 0x6F9 );
@@ -525,6 +530,7 @@ codet character_refine_preprocesst::convert_is_digit_int(
525530exprt character_refine_preprocesst::expr_of_is_high_surrogate (
526531 const exprt &chr, const typet &type)
527532{
533+ (void )type;
528534 return in_interval_expr (chr, 0xD800 , 0xDBFF );
529535}
530536
@@ -549,6 +555,7 @@ codet character_refine_preprocesst::convert_is_high_surrogate(
549555exprt character_refine_preprocesst::expr_of_is_identifier_ignorable (
550556 const exprt &chr, const typet &type)
551557{
558+ (void )type;
552559 or_exprt ignorable (
553560 in_interval_expr (chr, 0x0000 , 0x0008 ),
554561 or_exprt (
@@ -776,6 +783,7 @@ codet character_refine_preprocesst::convert_is_low_surrogate(
776783exprt character_refine_preprocesst::expr_of_is_mirrored (
777784 const exprt &chr, const typet &type)
778785{
786+ (void )type;
779787 return in_list_expr (chr, {0x28 , 0x29 , 0x3C , 0x3E , 0x5B , 0x5D , 0x7B , 0x7D });
780788}
781789
@@ -818,6 +826,7 @@ codet character_refine_preprocesst::convert_is_space(conversion_inputt &target)
818826exprt character_refine_preprocesst::expr_of_is_space_char (
819827 const exprt &chr, const typet &type)
820828{
829+ (void )type;
821830 std::list<mp_integer> space_characters=
822831 {0x20 , 0x00A0 , 0x1680 , 0x202F , 0x205F , 0x3000 , 0x2028 , 0x2029 };
823832 exprt condition0=in_list_expr (chr, space_characters);
@@ -852,6 +861,7 @@ codet character_refine_preprocesst::convert_is_space_char_int(
852861exprt character_refine_preprocesst::expr_of_is_supplementary_code_point (
853862 const exprt &chr, const typet &type)
854863{
864+ (void )type;
855865 return binary_relation_exprt (chr, ID_gt, from_integer (0xFFFF , chr.type ()));
856866}
857867
@@ -872,6 +882,7 @@ codet character_refine_preprocesst::convert_is_supplementary_code_point(
872882exprt character_refine_preprocesst::expr_of_is_surrogate (
873883 const exprt &chr, const typet &type)
874884{
885+ (void )type;
875886 return in_interval_expr (chr, 0xD800 , 0xDFFF );
876887}
877888
@@ -908,6 +919,7 @@ codet character_refine_preprocesst::convert_is_surrogate_pair(
908919exprt character_refine_preprocesst::expr_of_is_title_case (
909920 const exprt &chr, const typet &type)
910921{
922+ (void )type;
911923 std::list<mp_integer>title_case_chars=
912924 {0x01C5 , 0x01C8 , 0x01CB , 0x01F2 , 0x1FBC , 0x1FCC , 0x1FFC };
913925 exprt::operandst conditions;
@@ -945,6 +957,7 @@ codet character_refine_preprocesst::convert_is_title_case_int(
945957exprt character_refine_preprocesst::expr_of_is_letter_number (
946958 const exprt &chr, const typet &type)
947959{
960+ (void )type;
948961 // The following set of characters is the general category "Nl" in the
949962 // Unicode specification.
950963 exprt cond0=in_interval_expr (chr, 0x16EE , 0x16F0 );
@@ -1058,6 +1071,7 @@ codet character_refine_preprocesst::convert_is_upper_case_int(
10581071exprt character_refine_preprocesst::expr_of_is_valid_code_point (
10591072 const exprt &chr, const typet &type)
10601073{
1074+ (void )type;
10611075 return binary_relation_exprt (chr, ID_le, from_integer (0x10FFFF , chr.type ()));
10621076}
10631077
@@ -1082,6 +1096,7 @@ codet character_refine_preprocesst::convert_is_valid_code_point(
10821096exprt character_refine_preprocesst::expr_of_is_whitespace (
10831097 const exprt &chr, const typet &type)
10841098{
1099+ (void )type;
10851100 exprt::operandst conditions;
10861101 std::list<mp_integer> space_characters=
10871102 {0x20 , 0x1680 , 0x205F , 0x3000 , 0x2028 , 0x2029 };
0 commit comments