Avi Kivity 1a99c2630c
Format nested exceptions in std::exception formatter (#4844)
Detect when a std::exception also derives from std::nested_exception
(e.g. via std::throw_with_nested) and unwind the whole chain, joining
each level with ": ". The type-name flag ({:t}) is honored at every
level, and the std::exception_ptr formatter inherits this behavior.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 08:50:10 -07:00
..
add-subdirectory-test
compile-error-test Avoid dropping null byte in format string (#4732) 2026-04-23 09:34:27 -07:00
cuda-test Apply cmake-format 2026-03-03 15:49:40 -08:00
find-package-test
fuzzing Apply cmake-format 2026-03-03 15:49:40 -08:00
gtest Apply cmake-format 2026-03-03 15:49:40 -08:00
static-export-test
args-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
assert-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
base-test.cc Simplify test 2026-06-26 12:29:26 -07:00
c-test.c Add a test for fmt_print 2026-06-08 08:18:43 +02:00
chrono-test.cc fix out-of-range float to int conversion in to_nonnegative_int (#4802) 2026-06-16 23:14:58 -07:00
CMakeLists.txt Minor cleanup 2026-06-26 15:57:41 -07:00
color-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
compile-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
detect-stdfs.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
enforce-checks-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
format-impl-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
format-test.cc Fix fallback uint128 bitwise not (#4813) 2026-06-17 23:52:12 -07:00
gtest-extra-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
gtest-extra.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
gtest-extra.h Unify copyright notices 2026-05-31 08:54:06 -07:00
header-only-test.cc
mock-allocator.h Unify copyright notices 2026-05-31 08:54:06 -07:00
module-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
no-builtin-types-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
noexception-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
os-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
ostream-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
perf-sanity.cc
posix-mock-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
posix-mock.h Unify copyright notices 2026-05-31 08:54:06 -07:00
printf-test.cc fix out-of-bounds read in basic_format_args::get (#4800) 2026-06-09 22:18:35 -07:00
ranges-odr-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
ranges-test.cc Fix ambiguous formatter<std::optional<T>> between fmt/std.h and fmt/ranges.h on C++26 (P3168R2) (#4761) 2026-05-03 07:37:46 -07:00
scan-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
scan.h Unify copyright notices 2026-05-31 08:54:06 -07:00
std-test.cc Format nested exceptions in std::exception formatter (#4844) 2026-07-12 08:50:10 -07:00
test-assert.h Unify copyright notices 2026-05-31 08:54:06 -07:00
test-main.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
unicode-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
util.cc Unify copyright notices 2026-05-31 08:54:06 -07:00
util.h Unify copyright notices 2026-05-31 08:54:06 -07:00
xchar-test.cc Unify copyright notices 2026-05-31 08:54:06 -07:00