Victor Zverovich
7b273fbb54
Minor cleanup
2025-03-16 08:58:44 -07:00
Victor Zverovich
dd780fde44
Add clang-3.4
2025-03-15 12:22:10 -07:00
Dean Glazeski
37e6474718
Fix dynamic named arg format spec handling ( #4361 )
...
When dealing with dynamic named format args, need to account for
nested named args when skipping the content of the replacement.
Fixes #4360
2025-03-15 09:34:11 -07:00
Victor Zverovich
9212ff6ca1
Apply coding conventions and use constexpr
2025-03-02 09:03:06 -08:00
Dean Glazeski
864bdf9638
Report error on duplicate named arg names ( #4367 )
2025-03-02 07:47:03 -08:00
Victor Chernyakin
b776cf66fc
Optimize text_style using bit packing ( #4363 )
2025-03-01 11:18:19 -08:00
Thomas Khyn
577fd3be88
Fix TU-local entity exposition error in GCC 15
2025-02-26 11:14:15 -08:00
Thomas Khyn
faac8b1fa9
Remove exports in std.h
...
This fixes 'declaration of partial specialization in unbraced export-declaration' errors in GCC 15
2025-02-26 11:14:15 -08:00
Victor Zverovich
4e5aafbf43
Bump version
2025-02-25 17:20:47 -08:00
Victor Zverovich
3401ce2be2
Fix ABI compatibility
2025-02-25 13:32:24 -08:00
Dean
7f7695524a
Fix conflict with std::ignore ( #4356 )
...
In situations where `using namespace std;` is used, compiler warnings
can be generated because of local variables named `ignore`. This renames
those variables to something else to address the name conflict.
2025-02-19 23:08:21 -08:00
Victor Chernyakin
94ab51cb8c
Simplify implementation of operator""_cf ( #4349 )
2025-02-14 02:02:09 -08:00
Victor Zverovich
0ca42e836e
Workaround an MSVC v140 bug
2025-02-13 14:12:16 +01:00
Markus Kitsinger
f2cec917da
Move is_compiled_string to public API ( #4342 )
2025-02-04 16:20:27 -08:00
Sergiu Deitsch
d5b866e242
fix gcc 8.3 compile errors ( #4336 )
2025-02-03 08:51:58 -08:00
LocalSpook
c9267da4df
Fix typo in FMT_HAS_BUILTIN check
2025-01-31 08:42:19 -08:00
Victor Zverovich
52eeeb52a6
Make exponent threshold depend on representation ( #3649 )
2025-01-26 12:10:48 -08:00
timsong-cpp
cb6fdf2191
Restore constraint on map formatter ( #4326 )
...
* Restore constraint on map formatter
* Remove unnecessary double parens
2025-01-25 08:31:07 -08:00
timsong-cpp
f841ae61e2
Fix #4303 : avoid instantiating formatter<const T> ( #4325 )
2025-01-24 10:53:10 -08:00
Matt
a3d05d70ce
Silence a constexpr warning when compiling with MSVC and /W4 ( #4322 )
2025-01-23 12:11:23 -08:00
Victor Zverovich
41539c29f3
Workaround a bug in gcc 6 ( #4318 )
2025-01-22 11:12:41 -08:00
Victor Zverovich
9ff9c695db
Bump version
2025-01-18 10:28:46 -08:00
Victor Zverovich
5f0572acdc
Workaround a compilation error on gcc 9.4
2025-01-18 09:01:00 -08:00
Vladislav Shchapov
898d438571
Fix formatting into std::ostreambuf_iterator using a compiled format ( #4312 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-18 07:16:06 -08:00
Aaron Bishop
937b7c5c10
Add args() accessor back to fmt::format_context ( #4310 )
...
Add args() accessor back to fmt::format_context
Add test that would fail to compile if you can't create a fmt::format_context from another fmt::format_context
2025-01-17 10:28:34 -08:00
Victor Zverovich
01914f0389
Reduce size of basic_specs
2025-01-12 09:18:11 -08:00
Victor Zverovich
c43da35701
Workaround an ICE when using modules with gcc 14.2 and earlier
2025-01-12 08:57:43 -08:00
Victor Zverovich
b0b3dc5ff9
Bump version
2025-01-12 08:13:56 -08:00
Victor Zverovich
586ea06f02
Rename set_fill to copy_fill_from
2025-01-11 09:22:15 -08:00
Marcel Breyer
bfbdc2be9a
Add parameter to the fallback to_sys function.
2025-01-11 08:48:20 -08:00
Victor Zverovich
21aa0956d4
Restore ABI compatibility
2025-01-10 17:36:09 -08:00
Edoardo Lolletti
3f864a4505
Address MSVC C4127 warning when formatting non unicode tm ( #4299 )
...
Use `const_check` to silence visual studio's W4 level diagnostic regarding conditional expressions being constants, addresses https://github.com/fmtlib/fmt/issues/4294
2025-01-08 14:21:48 -08:00
Vladislav Shchapov
2c3a5698ef
Simplify a copying the fill from basic_specs
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-05 09:33:05 -08:00
Victor Zverovich
fc1b0f3486
Clarify use of FMT_THROW in a comment
2025-01-05 07:31:19 -10:00
GamesTrap
1d066890c7
Resolve C4702 unreachable code warnings
2025-01-03 16:39:11 -08:00
Vladislav Shchapov
dad3237514
Fix a bug when copying the fill from basic_specs
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-03 09:16:21 -08:00
Vladislav Shchapov
880e1494dc
Improve xchar support for std::bitset formatter
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-03 09:16:21 -08:00
Victor Zverovich
e9ec4fdc88
Bump version
2024-12-27 08:41:06 -08:00
Victor Zverovich
feb72126b4
Readd FMT_NO_UNIQUE_ADDRESS
2024-12-26 13:54:06 -08:00
Victor Zverovich
3e04222d53
Restore ABI compatibility with 11.0.2
2024-12-26 10:45:15 -08:00
Victor Zverovich
11742a09c7
Clarify that format_string should be used instead of fstring
2024-12-26 09:39:01 -08:00
Victor Zverovich
faf3f84085
Bump version
2024-12-25 08:18:51 -08:00
Victor Zverovich
a3ef285aec
Always inline const_check to improve debug codegen in clang
2024-12-24 12:54:44 -08:00
YexuanXiao
86dae01c23
Fix compatibility with older versions of VS ( #4271 )
2024-12-23 07:26:11 -08:00
YexuanXiao
7c3d0152e5
Use the _MSVC_STL_UPDATE macro to detect STL ( #4267 )
2024-12-19 06:47:13 -08:00
Hannes Harnisch
7c50da5385
Allow getting size of dynamic format arg store ( #4270 )
2024-12-18 19:54:35 -08:00
Sascha Hestermann
873670ba3f
Make parameter basic_memory_buffer<char, SIZE>& buf of to_string const
2024-12-11 12:19:20 -08:00
Vladislav Shchapov
141380172f
Allow disabling <filesystem> by define FMT_CPP_LIB_FILESYSTEM=0 ( #4259 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-12-09 07:13:24 -08:00
Alex Hirsch
9600fee020
Include <filesystem> only if FMT_CPP_LIB_FILESYSTEM is set ( #4258 )
...
This change results out of necessity since the Nintendo Switch console
SDK does not support `std::filesystem`. The SDK still provides the
`<filesystem>` header, but with an `#error` directive, effectively
breaking any build that includes `<filesystem>`
Because `<filesystem>` is present, `FMT_HAS_INCLUDE` is insufficient
here. With this change and `FMT_CPP_LIB_FILESYSTEM` in place, one can
define `FMT_CPP_LIB_FILESYSTEM=0` to work around this issue.
This assumes that `<filesystem>` can be included (without warnings) if
`FMT_CPP_LIB_FILESYSTEM` is set. If this is not the case, fmt would be
broken even before this change as `std::filesystem::path` is used
without the accompanying header.
2024-12-07 06:45:54 -08:00
jsirpoma
385c01dc7b
Allow bit_cast to work for 80bit long double ( #4246 )
2024-11-29 01:25:21 -08:00
Justin Riddell
536cabd562
Export all range join overloads ( #4239 )
2024-11-15 13:01:59 -08:00
Victor Zverovich
bfd95392c7
Remove MSVC 2015 workaround
2024-11-15 08:19:01 -08:00
Justin Riddell
9ced61bca4
Replace std::forward for clang-tidy ( #4236 )
...
Should fix #4231
2024-11-14 09:06:30 -08:00
Victor Zverovich
a6c45dfea8
Fix modular build
2024-11-10 09:06:50 -08:00
Victor Zverovich
a35389b3c2
Corrently handle buffer flush
2024-11-09 10:56:31 -08:00
Vladislav Shchapov
5a3576acc8
Implement fmt::join for tuple-like objects ( #4230 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-11-09 08:28:46 -08:00
Vladislav Shchapov
542600013f
Suppress MSVC warnings "C4127: conditional expression is constant" by used const_check ( #4233 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-11-09 07:43:46 -08:00
Victor Zverovich
720da57bab
Remove reference to unused intrinsic
2024-11-03 17:18:33 -08:00
Victor Zverovich
680db66c3a
Explicitly export symbols from detail
2024-11-03 09:13:17 -08:00
Victor Zverovich
56ce41ef63
Remove initializer_list dependency
2024-11-03 08:26:25 -08:00
Victor Zverovich
cf50e4d6a4
Fix const[expr] in context API
2024-11-03 07:25:52 -08:00
Victor Zverovich
6580d7b808
Cleanup the format API
2024-11-03 06:57:36 -08:00
Victor Zverovich
7e73566ce7
Minor cleanup
2024-11-02 11:24:24 -07:00
Victor Zverovich
8523dba2dc
Make constexpr precede explicit consistently
2024-11-02 11:03:03 -07:00
Victor Zverovich
e3d3b24fc1
Minor cleanup
2024-11-02 10:46:58 -07:00
Victor Zverovich
1521bba701
Use consistent types for argument count
2024-11-02 08:08:36 -07:00
Victor Zverovich
4b8e2838f0
More cleanup
2024-10-27 10:56:52 -07:00
Victor Zverovich
7d4662f7ab
Remove FMT_BUILTIN_CTZ
2024-10-27 10:22:43 -07:00
Victor Zverovich
27110bc474
Minor cleanup
2024-10-27 09:44:25 -07:00
Sergey
68f3153762
Fix narrowing conversion warning in struct fstring ( #4210 )
...
Warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data.
2024-10-27 06:41:20 -07:00
Vladislav Shchapov
168df9a064
Implement fmt::format_to into std::vector<char> ( #4211 )
...
* Implement fmt::format_to into std::vector<char>
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
* Move get_container to the trait
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
---------
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-10-26 09:23:59 -07:00
Sergey
4daa3d591f
Fix error: cannot use 'try' with exceptions disabled in Win LLVM Clang ( #4208 )
...
Fixes #4207 .
LLVM Clang on Windows does not define `__GNUC__`. The preprocessor falls
to `#elif FMT_MSC_VERSION && !_HAS_EXCEPTIONS` with `_HAS_EXCEPTIONS 1`
defined in vcruntime.h:104.
2024-10-23 10:43:55 -07:00
Victor Zverovich
2b6a786e35
Use standard context in print
2024-10-20 09:08:24 -07:00
Victor Zverovich
a16ff5787b
Add support for code units > 0xFFFF in fill
2024-10-20 07:59:58 -07:00
Victor Zverovich
601be1cbe7
Add support for code units > 0xFFFF in fill
2024-10-19 08:15:50 -07:00
Vinay Yadav
58c185b634
Changing type of data_ to size_t to avoid compilation warnings ( #4200 )
...
Changing type data_ to size_t because
1. If lib is cross-compiled for win32 using MXE environment it cause
compilation warning -Wconversion on line 730 as sizeof(unsigned long)
= 4 and sizeof(size_t) = 8
2. When lib is compiled on Unix like compiler generate warning
-Wuseless-cast if static_cast is used to fix issue in 1
2024-10-19 06:59:21 -07:00
Yi Kong
4046f97278
Fix -Wmissing-noreturn warning ( #4194 )
...
Fixes warning reported by top of trunk Clang:
include/fmt/chrono.h:447:36: error: function 'throw_duration_error' could be declared with attribute 'noreturn'
2024-10-10 08:59:56 -07:00
Victor Zverovich
6bdc12a199
detail_exported -> detail
2024-10-09 11:04:55 -07:00
Victor Zverovich
786a4b0968
Cleanup fixed_string
2024-10-09 08:42:49 -07:00
Haowei
22701d5f63
Address build failures when using Tip-of-Tree clang. ( #4187 )
...
When using ToT clang to build fmtlib, it complains 'sv' is not
initialized by a constant expression. This patch addresses this
issue.
2024-10-04 06:45:29 -07:00
Casey Carter
e62c41ffb0
Conform std::iterator_traits<fmt::appender> to [iterator.traits]/1 ( #4185 )
...
* Conform `std::iterator_traits<fmt::appender>` to [iterator.traits]/1
> In addition, the types
> ```c++
> iterator_traits<I>::pointer
> iterator_traits<I>::reference
> ```
> shall be defined as the iterator’s pointer and reference types; that is, for an iterator object `a` of class type, the same type as `decltype(a.operator->())` and `decltype(*a)`, respectively. The type `iterator_traits<I>::pointer` shall be void for an iterator of class type `I` that does not support `operator->`. Additionally, in the case of an output iterator, the types
> ```c++
> iterator_traits<I>::value_type
> iterator_traits<I>::difference_type
> iterator_traits<I>::reference
> ```
> may be defined as `void`.
* Remove unnecessary member types from basic_appender
This reverts commit 1accf6c0a043fb445cbbfeefdbc1f91a08e3099f.
* Address clang-format issue
2024-10-03 09:05:14 -07:00
Francesco Cavaliere
18792893d8
Silencing Wextra-semi warning ( #4188 )
2024-10-03 09:00:55 -07:00
Victor Zverovich
c95722ad62
Improve naming consistency
2024-09-29 18:17:44 -07:00
Victor Zverovich
db06b0df87
Use countl_zero in bigint
2024-09-29 17:11:22 -07:00
Victor Zverovich
b9ec48d9ca
Cleanup bigint
2024-09-29 12:03:07 -07:00
Victor Zverovich
3faf6f181e
Add min_of/max_of
2024-09-29 10:24:39 -07:00
Victor Zverovich
d64b100a30
Relax constexpr
2024-09-29 10:04:57 -07:00
Victor Zverovich
ff9ee0461a
Fix handling FMT_BUILTIN_TYPES
2024-09-28 09:23:48 -07:00
Victor Zverovich
cacc3108c5
Don't assume repeated evaluation of string literal produce the same pointer
...
Patch by @zygoloid (#4177 ).
2024-09-28 08:09:33 -07:00
Justin Riddell
fade652ade
Require clang >=15 for _BitInt support ( #4176 )
...
For appleclang, fixes issue #4173
2024-09-26 16:10:51 -07:00
Cameron Angus
96dca569a1
Module linkage fixes for shared build ( #4169 )
...
* Mark some in-class defined member functions as explicitly inline/constexpr, to avoid missing external symbols when using fmt module with shared build due to modules not defaulting to implicit inline.
* Switch constexpr to inline for context::arg(string_view).
NOTE: Looks as if basic_format_args::get(string_view) could probably be made constexpr instead, but sticking with minimal change approach.
* Work around apparent non-conformance of older MSVC compilers.
* Switch format_int::str() from constexpr to inline to satisfy libstdc++ std::string constexpr limitations.
* Replace usages of macros for constexpr/inline with keywords.
* Fix for locations requiring C++14 constexpr.
* Further minor constexpr tweaks.
* Apply clang format
2024-09-26 07:53:55 -07:00
Victor Zverovich
891c9a73ae
Cleanup format API
2024-09-22 15:52:55 -07:00
Victor Zverovich
9282222b7d
Export more
2024-09-22 15:10:58 -07:00
Victor Zverovich
ff92223549
Simplify locale handling
2024-09-22 10:21:19 -07:00
Victor Zverovich
80c4d42c66
Cleanup format.h
2024-09-22 08:20:26 -07:00
Victor Zverovich
3b70966df5
Add width and alignment support to error_code
2024-09-21 07:58:03 -07:00
Victor Zverovich
05226c4bd9
Remove type_identity
2024-09-20 19:13:09 -07:00
Victor Zverovich
c283b458a5
Cleanup format.h
2024-09-20 19:00:23 -07:00
Paulo Assis
fe79932c26
Fix conversion warning on chrono.h ( #4170 )
...
* Fix conversion warning on chrono.h
warning: conversion from 'time_t' {aka 'long long int'} to 'long int' may change value [-Wconversion]
* Changing write_utc_offset to accept a long long instead of the static_cast as requested..
2024-09-20 16:47:27 -07:00
Victor Zverovich
23fcf1942a
Apply clang-format
2024-09-20 09:34:10 -07:00
Victor Zverovich
3f296e3d4a
Workaround clang-format nonsense
2024-09-20 09:05:59 -07:00
Victor Zverovich
a197a994c5
Add member format_as for std
2024-09-20 08:49:49 -07:00
Victor Zverovich
6d43c755bc
Fix a typo
2024-09-19 10:49:11 -07:00
Vladislav Shchapov
1f87b1c58d
Use fmt::formatter specialization for std::reference_wrapper to avoid undefined behavior ( #4164 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-09-19 10:34:33 -07:00
Khanh H
ed8f8be70d
More chrono padding ( #4161 )
...
* Add padding modifier to day of year, duration's remains unpadded
* Add padding modifier for %m, %Y
2024-09-18 09:27:45 -07:00
Victor Zverovich
55a0a9cd62
Cleanup pragma detection
2024-09-17 19:46:30 -07:00
Victor Zverovich
5c926d9ff9
Remove FMT_UNCHECKED_ITERATOR
2024-09-17 19:40:29 -07:00
Victor Zverovich
8b024662d4
Remove unnecessary inheritance
2024-09-17 19:31:55 -07:00
Victor Zverovich
2f1424be90
Simplify handling of arrays
2024-09-17 19:05:43 -07:00
Victor Zverovich
239aa6911b
Remove unwrap_named_arg
2024-09-16 20:46:47 -07:00
Victor Zverovich
497df6db61
Remove formattable
2024-09-16 20:32:27 -07:00
Victor Zverovich
a25e594f6a
Remove range_mapper
2024-09-16 20:24:30 -07:00
Victor Zverovich
503dff93ec
Simplify has_formatter
2024-09-16 20:15:54 -07:00
Victor Zverovich
3374a95b50
Simplify has_formatter
2024-09-16 20:08:52 -07:00
Victor Zverovich
0e62e5dc7c
Simplify has_formatter
2024-09-16 19:53:31 -07:00
Victor Zverovich
7ce013971b
Sync value ctors and type mapper
2024-09-16 19:23:08 -07:00
Yedidya Feldblum
07e70151d5
format std::reference_wrapper
2024-09-16 19:05:18 -07:00
Victor Zverovich
4197727712
Improve handling of unformattable args
2024-09-16 18:52:18 -07:00
Victor Zverovich
527e98e3f8
Remove unformattable
2024-09-15 17:28:27 -07:00
Victor Zverovich
8a19b2db77
arg_mapper -> type_mapper
2024-09-15 17:09:49 -07:00
Victor Zverovich
e97df46ae1
Cleanup type mapping
2024-09-15 16:18:21 -07:00
Victor Zverovich
39f1e0903a
Remove FMT_MAP_API
2024-09-15 10:52:36 -07:00
Victor Zverovich
d832830f60
Cleanup type mapping
2024-09-15 09:58:09 -07:00
Victor Zverovich
b329ff194f
Always detect encoding on Windows
2024-09-15 08:52:33 -07:00
Victor Zverovich
2af403ce64
Simplify type mapping
2024-09-14 21:21:49 -07:00
Victor Zverovich
b7513b1d00
Simplify type mapping
2024-09-14 20:23:42 -07:00
Victor Zverovich
761d35f763
Cleanup format_as handling
2024-09-14 19:34:58 -07:00
Victor Zverovich
545dc4148a
Add value ctor taking name_arg
2024-09-14 10:33:15 -07:00
Victor Zverovich
3f5e45dd33
Simplify handling of _BitInt
2024-09-14 10:15:36 -07:00
Victor Zverovich
2e3b6fbd9f
Remove redundant check
2024-09-14 09:48:33 -07:00
Victor Zverovich
a0328e1f9f
Improve error reporting
2024-09-14 09:39:41 -07:00
Victor Zverovich
de28ef5f86
Remove make_arg
2024-09-14 09:18:47 -07:00
Victor Zverovich
2d5e561a6b
Cleanup argument handling
2024-09-14 08:56:04 -07:00
Victor Zverovich
50aac2ac92
Add reference to iterator_traits
2024-09-14 08:07:39 -07:00
Victor Zverovich
538d8777e5
Workaround a bug in libstdc++
2024-09-14 07:49:10 -07:00
Victor Zverovich
0335312320
Demacrify UTF-8 check
2024-09-13 18:41:10 -07:00
Victor Zverovich
463fe65f17
Cleanup FMT_COMPILE_STRING
2024-09-12 19:57:50 -07:00
Victor Zverovich
1782a6eac0
Rename pragma macros
2024-09-12 19:20:32 -07:00
Victor Zverovich
b6a6ec7f1c
FMT_EXCEPTIONS -> FMT_USE_EXCEPTIONS
2024-09-11 19:34:12 -07:00
Victor Zverovich
89999f1672
Simplify pragma
2024-09-11 18:52:56 -07:00
Victor Zverovich
b90b4bc981
Remove FMT_STATIC_THOUSANDS_SEPARATOR in favor of FMT_USE_LOCALE
2024-09-11 18:30:05 -07:00
Victor Zverovich
a1d6f9a973
Minor cleanup
2024-09-11 17:20:20 -07:00
Victor Zverovich
689ec7a087
Cleanup
2024-09-11 16:05:34 -07:00
Victor Zverovich
28143dc99d
Cleanup chrono
2024-09-11 15:41:51 -07:00
Victor Zverovich
1bde49e545
Remove FMT_USE_USER_LITERALS
2024-09-11 11:27:27 -07:00
Victor Zverovich
ab8f9d5b08
Cleanup format API
2024-09-11 07:52:19 -07:00
Victor Zverovich
6f62db098a
Cleanup format API
2024-09-11 07:26:11 -07:00
Victor Zverovich
ab44ee7521
Avoid shadowing
2024-09-11 07:05:45 -07:00
Victor Zverovich
0d4e7e3fee
Remove old workaround
2024-09-11 06:17:47 -07:00
Victor Zverovich
8ee89546ff
Remove old workaround
2024-09-10 21:06:25 -07:00
Victor Zverovich
a5deb96bf5
Update gcc version
2024-09-10 20:52:35 -07:00
Victor Zverovich
61a241f03f
Cleanup
2024-09-10 20:24:57 -07:00
Victor Zverovich
ff82d8d2b5
Cleanup visit
2024-09-10 20:09:44 -07:00
Victor Zverovich
0cc20f5639
Remove iterator_t
2024-09-10 19:51:57 -07:00
Victor Zverovich
2ba6785d8f
Remove unused type
2024-09-10 19:00:08 -07:00
Victor Zverovich
5644e7507c
Remove unnecessary forwarding
2024-09-10 18:35:32 -07:00
Victor Zverovich
5345cfe6b3
Adjust clang-format
2024-09-10 18:24:35 -07:00
Victor Zverovich
3e9fdb3a1f
Cleanup
2024-09-10 17:27:49 -07:00
Victor Zverovich
3ada4aed20
Optionally exclude Unicode data
2024-09-08 16:52:01 -07:00
Victor Zverovich
b37be85bf1
Optionally disable named arguments
2024-09-08 16:25:33 -07:00
Victor Zverovich
70643b2511
Don't use format_error if exceptions disabled
2024-09-08 15:56:36 -07:00
Victor Zverovich
967e2d177d
Cleanup
2024-09-08 15:43:11 -07:00
Victor Zverovich
02c5d637c5
Cleanup
2024-09-08 11:13:44 -07:00
Victor Zverovich
047bf75c24
Cleanup
2024-09-08 10:00:25 -07:00
Victor Zverovich
2d3ba32e79
Improve debug codegen
2024-09-08 09:17:59 -07:00
Victor Zverovich
6c90b31fbd
Improve debug codegen
2024-09-08 07:49:02 -07:00
Victor Zverovich
9408c2ae8c
Readd support for FMT_BUILTIN_TYPES
2024-09-07 08:12:03 -07:00
Victor Zverovich
cc3ff1529d
Cleanup
2024-09-06 17:05:48 -07:00
Victor Zverovich
158893b384
Cleanup
2024-09-06 13:39:03 -07:00
Victor Zverovich
f5a16a484b
Cleanup
2024-09-06 12:41:53 -07:00
Victor Zverovich
cad876be4c
Switch to vargs
2024-09-06 12:12:39 -07:00
Victor Zverovich
debf6f8285
Switch to vargs
2024-09-06 09:10:39 -07:00
Victor Zverovich
35f4fab4c4
Simplify value ctor
2024-09-06 08:59:43 -07:00
Victor Zverovich
ff8f324786
Minor cleanup
2024-09-06 08:47:24 -07:00
Victor Zverovich
bd48715d81
Simplify make_format_args
2024-09-06 08:15:33 -07:00
Victor Zverovich
57d6df62f7
Simplify make_format_args
2024-09-06 08:07:22 -07:00
Victor Zverovich
8ed4a9dcc1
Improve debug codegen
2024-09-06 07:51:22 -07:00
Victor Zverovich
f288f45e46
Prepare for arg_store unification
2024-09-05 19:17:18 -07:00
Victor Zverovich
f1e3016c13
Optimize debug codegen
2024-09-04 17:10:52 -07:00
Victor Zverovich
106dc8fd64
Reduce usage of type_identity
2024-09-04 16:23:51 -07:00
Victor Zverovich
c3344e21e2
Cleanup base API
2024-09-04 15:50:53 -07:00
Victor Zverovich
5f438c967e
Remove make_arg
2024-09-04 14:52:14 -07:00
Victor Zverovich
2a257798d4
Reenable FMT_BUILTIN_TYPES
2024-09-04 14:10:40 -07:00
Vladislav Shchapov
22d50c1a9c
Add support formatting std::expected<void, E>
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-09-04 12:31:44 -07:00
Vladislav Shchapov
1cc10ab68f
Make is_formattable work with const/volatile void
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-09-04 12:31:44 -07:00
Victor Zverovich
6aaf7f4b79
Suppress a gcc 13 warning
2024-09-04 11:43:12 -07:00
Victor Zverovich
b4d1d7f8e6
Improve debug codegen
2024-09-04 08:56:25 -07:00
Victor Zverovich
3df47a4677
Make is_formattable work with void
2024-09-04 07:33:56 -07:00
Cameron Angus
b4aea98b55
Small fixes for some issues with modules builds ( #4152 )
...
* Avoid module export of member function definitions.
* Do not #include intrinsics header into module purview.
2024-09-04 07:29:41 -07:00
Victor Zverovich
e2b7238707
Cleanup format string API
2024-09-03 21:30:57 -07:00
Victor Zverovich
1e0c6cdc3b
Make symbol sizes shorter
2024-09-03 20:44:37 -07:00
Victor Zverovich
15694c9a84
Workaround an MSVC bug
2024-09-03 16:12:29 -07:00
Victor Zverovich
894b71da85
Fix handling of _BitInt
2024-09-03 11:32:31 -07:00
Victor Zverovich
7a6a2a79ed
Improve debug codegen
2024-09-02 20:29:24 -07:00
Victor Zverovich
387395fc7c
Cleanup base API
2024-09-02 15:15:38 -07:00
Victor Zverovich
6a88415499
Add FMT_APPLY_VARIADIC
2024-09-02 13:59:41 -07:00
Victor Zverovich
9a2aae37d4
Cleanup base API
2024-09-02 10:01:14 -07:00
Victor Zverovich
8803768363
Cleanup base API
2024-09-02 09:11:33 -07:00
Victor Zverovich
4fa533c70e
Cleanup base API
2024-09-02 09:00:44 -07:00
Victor Zverovich
d980dd7171
Cleanup base API
2024-09-02 07:50:46 -07:00