Skip to content

Commit 25a3463

Browse files
committed
[libc++][NFC] Fixes placement of the return type.
1 parent 722a2fb commit 25a3463

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/__format/parser_std_format_spec.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class _LIBCPP_TYPE_VIS __parser_width {
303303
return __r.__ptr;
304304
}
305305

306-
void _LIBCPP_HIDE_FROM_ABI constexpr __substitute_width_arg_id(auto __arg) {
306+
_LIBCPP_HIDE_FROM_ABI constexpr void __substitute_width_arg_id(auto __arg) {
307307
_LIBCPP_ASSERT(__width_as_arg == 1,
308308
"Substitute width called when no substitution is required");
309309

@@ -395,7 +395,7 @@ class _LIBCPP_TYPE_VIS __parser_precision {
395395
return __r.__ptr;
396396
}
397397

398-
void _LIBCPP_HIDE_FROM_ABI constexpr __substitute_precision_arg_id(
398+
_LIBCPP_HIDE_FROM_ABI constexpr void __substitute_precision_arg_id(
399399
auto __arg) {
400400
_LIBCPP_ASSERT(
401401
__precision_as_arg == 1 && __precision != __format::__number_max,
@@ -576,7 +576,7 @@ class _LIBCPP_TEMPLATE_VIS __parser_string
576576
}
577577

578578
/** Processes the parsed std-format-spec based on the parsed display type. */
579-
void _LIBCPP_HIDE_FROM_ABI constexpr __process_display_type() {
579+
_LIBCPP_HIDE_FROM_ABI constexpr void __process_display_type() {
580580
switch (this->__type) {
581581
case _Flags::_Type::__default:
582582
case _Flags::_Type::__string:

0 commit comments

Comments
 (0)