@@ -338,6 +338,7 @@ codet character_refine_preprocesst::convert_high_surrogate(
338
338
exprt character_refine_preprocesst::expr_of_is_ascii_lower_case (
339
339
const exprt &chr, const typet &type)
340
340
{
341
+ (void )type; // unused parameter
341
342
return in_interval_expr (chr, ' a' , ' z' );
342
343
}
343
344
@@ -348,6 +349,7 @@ exprt character_refine_preprocesst::expr_of_is_ascii_lower_case(
348
349
exprt character_refine_preprocesst::expr_of_is_ascii_upper_case (
349
350
const exprt &chr, const typet &type)
350
351
{
352
+ (void )type; // unused parameter
351
353
return in_interval_expr (chr, ' A' , ' Z' );
352
354
}
353
355
@@ -402,6 +404,7 @@ codet character_refine_preprocesst::convert_is_alphabetic(
402
404
exprt character_refine_preprocesst::expr_of_is_bmp_code_point (
403
405
const exprt &chr, const typet &type)
404
406
{
407
+ (void )type; // unused parameter
405
408
return and_exprt (
406
409
binary_relation_exprt (chr, ID_le, from_integer (0xFFFF , chr.type ())),
407
410
binary_relation_exprt (chr, ID_ge, from_integer (0 , chr.type ())));
@@ -424,6 +427,7 @@ codet character_refine_preprocesst::convert_is_bmp_code_point(
424
427
exprt character_refine_preprocesst::expr_of_is_defined (
425
428
const exprt &chr, const typet &type)
426
429
{
430
+ (void )type; // unused parameter
427
431
// The following intervals are undefined in unicode, according to
428
432
// the Unicode Character Database: http://www.unicode.org/Public/UCD/latest/
429
433
exprt::operandst intervals;
@@ -488,6 +492,7 @@ codet character_refine_preprocesst::convert_is_defined_int(
488
492
exprt character_refine_preprocesst::expr_of_is_digit (
489
493
const exprt &chr, const typet &type)
490
494
{
495
+ (void )type; // unused parameter
491
496
exprt latin_digit=in_interval_expr (chr, ' 0' , ' 9' );
492
497
exprt arabic_indic_digit=in_interval_expr (chr, 0x660 , 0x669 );
493
498
exprt extended_digit=in_interval_expr (chr, 0x6F0 , 0x6F9 );
@@ -526,6 +531,7 @@ codet character_refine_preprocesst::convert_is_digit_int(
526
531
exprt character_refine_preprocesst::expr_of_is_high_surrogate (
527
532
const exprt &chr, const typet &type)
528
533
{
534
+ (void )type; // unused parameter
529
535
return in_interval_expr (chr, 0xD800 , 0xDBFF );
530
536
}
531
537
@@ -550,6 +556,7 @@ codet character_refine_preprocesst::convert_is_high_surrogate(
550
556
exprt character_refine_preprocesst::expr_of_is_identifier_ignorable (
551
557
const exprt &chr, const typet &type)
552
558
{
559
+ (void )type; // unused parameter
553
560
or_exprt ignorable (
554
561
in_interval_expr (chr, 0x0000 , 0x0008 ),
555
562
or_exprt (
@@ -777,6 +784,7 @@ codet character_refine_preprocesst::convert_is_low_surrogate(
777
784
exprt character_refine_preprocesst::expr_of_is_mirrored (
778
785
const exprt &chr, const typet &type)
779
786
{
787
+ (void )type; // unused parameter
780
788
return in_list_expr (chr, {0x28 , 0x29 , 0x3C , 0x3E , 0x5B , 0x5D , 0x7B , 0x7D });
781
789
}
782
790
@@ -819,6 +827,7 @@ codet character_refine_preprocesst::convert_is_space(conversion_inputt &target)
819
827
exprt character_refine_preprocesst::expr_of_is_space_char (
820
828
const exprt &chr, const typet &type)
821
829
{
830
+ (void )type; // unused parameter
822
831
std::list<mp_integer> space_characters=
823
832
{0x20 , 0x00A0 , 0x1680 , 0x202F , 0x205F , 0x3000 , 0x2028 , 0x2029 };
824
833
exprt condition0=in_list_expr (chr, space_characters);
@@ -853,6 +862,7 @@ codet character_refine_preprocesst::convert_is_space_char_int(
853
862
exprt character_refine_preprocesst::expr_of_is_supplementary_code_point (
854
863
const exprt &chr, const typet &type)
855
864
{
865
+ (void )type; // unused parameter
856
866
return binary_relation_exprt (chr, ID_gt, from_integer (0xFFFF , chr.type ()));
857
867
}
858
868
@@ -873,6 +883,7 @@ codet character_refine_preprocesst::convert_is_supplementary_code_point(
873
883
exprt character_refine_preprocesst::expr_of_is_surrogate (
874
884
const exprt &chr, const typet &type)
875
885
{
886
+ (void )type; // unused parameter
876
887
return in_interval_expr (chr, 0xD800 , 0xDFFF );
877
888
}
878
889
@@ -909,6 +920,7 @@ codet character_refine_preprocesst::convert_is_surrogate_pair(
909
920
exprt character_refine_preprocesst::expr_of_is_title_case (
910
921
const exprt &chr, const typet &type)
911
922
{
923
+ (void )type; // unused parameter
912
924
std::list<mp_integer>title_case_chars=
913
925
{0x01C5 , 0x01C8 , 0x01CB , 0x01F2 , 0x1FBC , 0x1FCC , 0x1FFC };
914
926
exprt::operandst conditions;
@@ -946,6 +958,7 @@ codet character_refine_preprocesst::convert_is_title_case_int(
946
958
exprt character_refine_preprocesst::expr_of_is_letter_number (
947
959
const exprt &chr, const typet &type)
948
960
{
961
+ (void )type; // unused parameter
949
962
// The following set of characters is the general category "Nl" in the
950
963
// Unicode specification.
951
964
exprt cond0=in_interval_expr (chr, 0x16EE , 0x16F0 );
@@ -1059,6 +1072,7 @@ codet character_refine_preprocesst::convert_is_upper_case_int(
1059
1072
exprt character_refine_preprocesst::expr_of_is_valid_code_point (
1060
1073
const exprt &chr, const typet &type)
1061
1074
{
1075
+ (void )type; // unused parameter
1062
1076
return binary_relation_exprt (chr, ID_le, from_integer (0x10FFFF , chr.type ()));
1063
1077
}
1064
1078
@@ -1083,6 +1097,7 @@ codet character_refine_preprocesst::convert_is_valid_code_point(
1083
1097
exprt character_refine_preprocesst::expr_of_is_whitespace (
1084
1098
const exprt &chr, const typet &type)
1085
1099
{
1100
+ (void )type; // unused parameter
1086
1101
exprt::operandst conditions;
1087
1102
std::list<mp_integer> space_characters=
1088
1103
{0x20 , 0x1680 , 0x205F , 0x3000 , 0x2028 , 0x2029 };
0 commit comments