Home
last modified time | relevance | path

Searched refs:format_error (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.error/
H A Dformat.error.pass.cpp28 static_assert(std::is_base_of_v<std::runtime_error, std::format_error>); in main()
29 static_assert(std::is_polymorphic_v<std::format_error>); in main()
33 std::format_error e(msg); in main()
35 std::format_error e2(e); in main()
42 std::format_error e(msg); in main()
44 std::format_error e2(e); in main()
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_error.h28 class _LIBCPP_EXCEPTION_ABI format_error : public runtime_error {
30 _LIBCPP_HIDE_FROM_ABI explicit format_error(const string& __s) in format_error() function
32 _LIBCPP_HIDE_FROM_ABI explicit format_error(const char* __s) in format_error() function
34 virtual ~format_error() noexcept;
40 throw format_error(__s); in __throw_format_error()
/llvm-project-15.0.7/libcxx/src/
H A Dformat.cpp13 format_error::~format_error() noexcept = default;
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.parse.ctx/
H A Dnext_arg_id.pass.cpp41 } catch ([[maybe_unused]] const std::format_error& e) { in test_exception()
H A Dcheck_arg_id.pass.cpp41 } catch ([[maybe_unused]] const std::format_error& e) { in test_exception()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/format/format.string/format.string.std/
H A Dtest_exception.h22 } catch (std::format_error& e) { in test_exception()
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/
H A Dvformat.pass.cpp41 } catch ([[maybe_unused]] const std::format_error& e) {
H A Dvformat.locale.pass.cpp42 } catch ([[maybe_unused]] const std::format_error& e) {
H A Dvformat_to.pass.cpp69 } catch ([[maybe_unused]] const std::format_error& e) {
H A Dvformat_to.locale.pass.cpp74 } catch ([[maybe_unused]] const std::format_error& e) {
H A Dformat_tests.h130 throw std::format_error(s);
/llvm-project-15.0.7/libcxx/include/
H A Dformat132 // [format.error], class format_error
133 class format_error;
154 #include <__format/format_error.h>
308 // exception of type format_error is thrown.
H A DCMakeLists.txt291 __format/format_error.h
H A Dmodule.modulemap.in644 module format_error { private header "__format/format_error.h" }
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn352 "__format/format_error.h",