| 2118 | } |
| 2119 | |
| 2120 | FMT_CONSTEXPR void check_sign() { |
| 2121 | require_numeric_argument(); |
| 2122 | if (is_integral_type(arg_type_) && arg_type_ != type::int_type && |
| 2123 | arg_type_ != type::long_long_type && arg_type_ != type::char_type) { |
| 2124 | error_handler_.on_error("format specifier requires signed argument"); |
| 2125 | } |
| 2126 | } |
| 2127 | |
| 2128 | FMT_CONSTEXPR void check_precision() { |
| 2129 | if (is_integral_type(arg_type_) || arg_type_ == type::pointer_type) |
no test coverage detected