/llvm-project/libcxx/src/support/runtime/ |
H A D | stdexcept_default.ipp | 32 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) {} 34 runtime_error::runtime_error(const char* msg) : __imp_(msg) {} 36 runtime_error::runtime_error(const runtime_error& re) noexcept : __imp_(re.__imp_) {} 38 runtime_error& runtime_error::operator=(const runtime_error& re) noexcept { 47 const char* runtime_error::what() const noexcept { return __imp_.c_str(); } 55 runtime_error::~runtime_error() noexcept {}
|
H A D | stdexcept_vcruntime.ipp | 15 runtime_error::runtime_error(std::string const& s) : exception(s.c_str()) {}
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | weak-external.cpp | 45 class _LIBCPP_EXCEPTION_ABI runtime_error class 51 explicit runtime_error(const string&); 52 explicit runtime_error(const char*); 54 runtime_error(const runtime_error&) _NOEXCEPT; 55 runtime_error& operator=(const runtime_error&) _NOEXCEPT; 57 virtual ~runtime_error() _NOEXCEPT; 65 throw(std::runtime_error("string")); in dummysymbol()
|
/llvm-project/bolt/test/runtime/X86/ |
H A D | rethrow.cpp | 4 void erringFunc() { throw std::runtime_error("Hello"); } in erringFunc() 8 void libCallB() { throw std::runtime_error("World"); } in libCallB() 13 } catch (std::runtime_error &E) { in handleEventA() 22 } catch (std::runtime_error &E) { in handleEventB() 40 class TerminateException : public std::runtime_error { 42 TerminateException() : std::runtime_error("Time to stop!") {} in TerminateException() 62 } catch (std::runtime_error &E) { in runEventLoop()
|
H A D | lp-fragment-start.s | 56 .Ltmp3: # throw std::runtime_error 162 # throw std::runtime_error("failed successfully"); 163 # } catch (const std::runtime_error &e) {
|
/llvm-project/libcxx/include/ |
H A D | stdexcept | 24 class runtime_error; 103 class _LIBCPP_EXPORTED_FROM_ABI runtime_error : public exception { 110 explicit runtime_error(const string&); 111 explicit runtime_error(const char*); 113 runtime_error(const runtime_error&) _NOEXCEPT; 114 runtime_error& operator=(const runtime_error&) _NOEXCEPT; 116 ~runtime_error() _NOEXCEPT override; 122 explicit runtime_error(cons [all...] |
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/runtime.error/ |
H A D | runtime_error.pass.cpp | 21 static_assert((std::is_base_of<std::exception, std::runtime_error>::value), in main() 23 static_assert(std::is_polymorphic<std::runtime_error>::value, in main() 27 std::runtime_error e(msg); in main() 29 std::runtime_error e2(e); in main() 36 std::runtime_error e(msg); in main() 38 std::runtime_error e2(e); in main()
|
/llvm-project/libcxx/src/ |
H A D | system_error.cpp | 341 : runtime_error(make_error_str(ec, what_arg)), __ec_(ec) {} 344 : runtime_error(make_error_str(ec, what_arg)), __ec_(ec) {} 346 system_error::system_error(error_code ec) : runtime_error(make_error_str(ec)), __ec_(ec) {} 349 : runtime_error(make_error_str(error_code(ev, ecat), what_arg)), __ec_(error_code(ev, ecat)) {} 352 : runtime_error(make_error_str(error_code(ev, ecat), what_arg)), __ec_(error_code(ev, ecat)) {} 355 : runtime_error(make_error_str(error_code(ev, ecat))), __ec_(error_code(ev, ecat)) {}
|
/llvm-project/clang/test/SemaCXX/ |
H A D | PR9460.cpp | 11 struct runtime_error{ struct 12 runtime_error( 15 runtime_error(0);
|
H A D | PR9461.cpp | 29 struct runtime_error{runtime_error(string);}; struct 31 struct system_error:runtime_error{ // expected-note {{to match}}
|
/llvm-project/libcxxabi/src/ |
H A D | stdlib_stdexcept.cpp | 30 runtime_error::~runtime_error() noexcept {} in ~runtime_error() 33 runtime_error::what() const noexcept in what()
|
/llvm-project/libcxx/include/__format/ |
H A D | format_error.h | 27 class _LIBCPP_EXPORTED_FROM_ABI format_error : public runtime_error { 29 _LIBCPP_HIDE_FROM_ABI explicit format_error(const string& __s) : runtime_error(__s) {} in format_error() 30 _LIBCPP_HIDE_FROM_ABI explicit format_error(const char* __s) : runtime_error(__s) {} in format_error()
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | throw-keyword-missing.cpp | 22 // std::exception and std::runtime_error declaration. 29 struct runtime_error : public exception { struct 30 explicit runtime_error(const std::string &what_arg); 55 std::runtime_error("Unexpected argument"); in stdExceptionNotTrownTest() 63 throw std::runtime_error("Unexpected argument"); in stdExceptionThrownTest()
|
/llvm-project/libcxx/include/__chrono/ |
H A D | exception.h | 39 class nonexistent_local_time : public runtime_error { 43 : runtime_error{__create_message(__time, __info)} { in nonexistent_local_time() 83 class ambiguous_local_time : public runtime_error { 87 : runtime_error{__create_message(__time, __info)} { in ambiguous_local_time()
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/ |
H A D | get_info.sys_time.pass.cpp | 74 std::runtime_error, in test_exception() 75 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception() 98 std::runtime_error, in zone_without_until_entry() 99 [&]([[maybe_unused]] const std::runtime_error& e) { in zone_without_until_entry()
|
/llvm-project/mlir/lib/Bindings/Python/ |
H A D | IRModule.cpp | 78 throw std::runtime_error((llvm::Twine("Attribute builder for '") + in registerAttributeBuilder() 92 throw std::runtime_error("Type caster is already registered with caster: " + in registerValueCaster() 102 throw std::runtime_error("Value caster is already registered: " + in registerDialectImpl() 112 throw std::runtime_error((llvm::Twine("Dialect namespace '") + in registerOperationImpl() 124 throw std::runtime_error((llvm::Twine("Operation '") + operationName + in lookupAttributeBuilder()
|
/llvm-project/libcxx/test/std/localization/locales/locale/locale.cons/ |
H A D | char_pointer.pass.cpp | 87 } catch (std::runtime_error&) { in main() 94 } catch (std::runtime_error&) { in main() 101 } catch (std::runtime_error&) { in main()
|
/llvm-project/offload/test/offloading/ |
H A D | bug50022.cpp | 23 throw std::runtime_error("wrong result!"); in main() 31 throw std::runtime_error("wrong result!"); in main()
|
/llvm-project/libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/ |
H A D | locate_zone.pass.cpp | 41 std::runtime_error, in test_exception() 42 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception()
|
/llvm-project/libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/ |
H A D | locate_zone.pass.cpp | 43 std::runtime_error, in test_exception() 44 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception()
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/ |
H A D | version.pass.cpp | 54 std::runtime_error, in test_exception() 55 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception()
|
H A D | links.pass.cpp | 59 std::runtime_error, in test_exception() 60 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception()
|
H A D | leap_seconds.pass.cpp | 58 std::runtime_error, in test_exception() 59 [&]([[maybe_unused]] const std::runtime_error& e) { in test_exception()
|
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/time.zone.db.tzdb/ |
H A D | locate_zone.pass.cpp | 74 std::runtime_error, in main() 75 [&]([[maybe_unused]] const std::runtime_error& e) { in main()
|
/llvm-project/compiler-rt/test/hwasan/TestCases/ |
H A D | try-catch.cpp | 29 throw std::runtime_error("hello"); in h() 62 } catch (const std::runtime_error &e) { in f()
|