Remove coverage exclusion
This commit is contained in:
parent
ea3e962192
commit
39e55e2f11
@ -2082,9 +2082,8 @@ class binary_reader
|
|||||||
}
|
}
|
||||||
if (!value_in_range_of<std::size_t>(number))
|
if (!value_in_range_of<std::size_t>(number))
|
||||||
{
|
{
|
||||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
|
||||||
}
|
}
|
||||||
result = static_cast<std::size_t>(number);
|
result = static_cast<std::size_t>(number);
|
||||||
return true;
|
return true;
|
||||||
@ -2133,9 +2132,8 @@ class binary_reader
|
|||||||
}
|
}
|
||||||
if (!value_in_range_of<std::size_t>(number))
|
if (!value_in_range_of<std::size_t>(number))
|
||||||
{
|
{
|
||||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
|
||||||
}
|
}
|
||||||
result = detail::conditional_static_cast<std::size_t>(number);
|
result = detail::conditional_static_cast<std::size_t>(number);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -10767,9 +10767,8 @@ class binary_reader
|
|||||||
}
|
}
|
||||||
if (!value_in_range_of<std::size_t>(number))
|
if (!value_in_range_of<std::size_t>(number))
|
||||||
{
|
{
|
||||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
|
||||||
}
|
}
|
||||||
result = static_cast<std::size_t>(number);
|
result = static_cast<std::size_t>(number);
|
||||||
return true;
|
return true;
|
||||||
@ -10818,9 +10817,8 @@ class binary_reader
|
|||||||
}
|
}
|
||||||
if (!value_in_range_of<std::size_t>(number))
|
if (!value_in_range_of<std::size_t>(number))
|
||||||
{
|
{
|
||||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
|
||||||
}
|
}
|
||||||
result = detail::conditional_static_cast<std::size_t>(number);
|
result = detail::conditional_static_cast<std::size_t>(number);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user