[libcxx-commits] [PATCH] D152624: [libc++][format] Improves diagnostics.
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 27 09:29:50 PDT 2023
ldionne added inline comments.
================
Comment at: libcxx/include/__format/format_functions.h:132
if (__id >= __size_)
- std::__throw_format_error("Argument index out of bounds");
+ std::__throw_format_error("The argument index value is too larger for the number of arguments supplied");
return __args_[__id];
----------------
Elsewhere too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152624/new/
https://reviews.llvm.org/D152624
More information about the libcxx-commits
mailing list