/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/ |
H A D | throw-by-value-catch-by-reference.cpp | 4 class logic_error { class 6 logic_error(const char *message) {} in logic_error() function in logic_error 9 typedef logic_error *logic_ptr; 22 logic_error CreateException() { return logic_error("created"); } in CreateException() 25 throw new logic_error("by pointer"); in testThrowFunc() 27 logic_ptr tmp = new logic_error("by pointer"); in testThrowFunc() 31 throw logic_error("by value"); in testThrowFunc() 33 throw logic_error(literal); in testThrowFunc() 40 logic_error lvalue("lvalue"); in testThrowFunc() 51 void throwReferenceFunc(logic_error &ref) { throw ref; } in throwReferenceFunc() [all …]
|
/llvm-project/libcxx/src/support/runtime/ |
H A D | stdexcept_default.ipp | 21 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) {} 23 logic_error::logic_error(const char* msg) : __imp_(msg) {} 25 logic_error::logic_error(const logic_error& le) noexcept : __imp_(le.__imp_) {} 27 logic_error& logic_error::operator=(const logic_error& le) noexcept { 45 const char* logic_error::what() const noexcept { return __imp_.c_str(); } 49 logic_error::~logic_error() noexcept {}
|
H A D | stdexcept_vcruntime.ipp | 14 logic_error::logic_error(std::string const& s) : exception(s.c_str()) {}
|
/llvm-project/libcxx/include/ |
H A D | stdexcept | 19 class logic_error; 79 class _LIBCPP_EXPORTED_FROM_ABI logic_error : public exception { 86 explicit logic_error(const string&); 87 explicit logic_error(const char*); 89 logic_error(const logic_error&) _NOEXCEPT; 90 logic_error& operator=(const logic_error&) _NOEXCEPT; 92 ~logic_error() _NOEXCEPT override; 98 explicit logic_error(cons [all...] |
H A D | future | 47 class future_error : public logic_error { 494 class _LIBCPP_EXPORTED_FROM_ABI future_error : public logic_error {
|
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/logic.error/ |
H A D | logic_error.pass.cpp | 21 static_assert((std::is_base_of<std::exception, std::logic_error>::value), in main() 23 static_assert(std::is_polymorphic<std::logic_error>::value, in main() 27 std::logic_error e(msg); in main() 29 std::logic_error e2(e); in main() 36 std::logic_error e(msg); in main() 38 std::logic_error e2(e); in main()
|
/llvm-project/libcxxabi/src/ |
H A D | stdlib_stdexcept.cpp | 22 logic_error::~logic_error() noexcept {} in ~logic_error() 25 logic_error::what() const noexcept in what()
|
/llvm-project/third-party/benchmark/test/ |
H A D | diagnostics_test.cc | 22 throw std::logic_error(""); in TestHandler() 34 } catch (std::logic_error const&) { in try_invalid_pause_resume() 39 } catch (std::logic_error const&) { in try_invalid_pause_resume()
|
/llvm-project/libcxx/src/ |
H A D | optional.cpp | 26 class _LIBCPP_EXPORTED_FROM_ABI _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS bad_optional_access : public std::logic_error { 28 bad_optional_access() : std::logic_error("Bad optional Access") {} in bad_optional_access()
|
H A D | future.cpp | 56 future_error::future_error(error_code __ec) : logic_error(__ec.message()), __ec_(__ec) {} in future_error()
|
/llvm-project/bolt/test/X86/ |
H A D | interprocedural-ref-entry-point.s | 11 # throw std::logic_error(""); 14 # throw std::logic_error("");
|
/llvm-project/llvm/test/Object/ |
H A D | coff-archive.test | 8 CHECKIDX: ??0logic_error@std@@QAE@PBD@Z in Debug\mymath.obj 10 CHECKIDX: ??1logic_error@std@@UAE@XZ in Debug\mymath.obj 25 CHECKIDX: ??_R1A@?0A@EA@logic_error@std@@8 in Debug\mymath.obj 164 CHECKIDX: 00000000 T ??0logic_error@std@@QAE@PBD@Z 166 CHECKIDX: 00000000 T ??1logic_error@std@@UAE@XZ 179 CHECKIDX: 00000000 R ??_R1A@?0A@EA@logic_error@std@@8
|
/llvm-project/libcxx/test/std/thread/futures/futures.future_error/ |
H A D | types.compile.pass.cpp | 18 static_assert(std::is_convertible<std::future_error*, std::logic_error*>::value, "");
|
/llvm-project/libcxx/modules/std/ |
H A D | stdexcept.inc | 14 using std::logic_error;
|
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/domain.error/ |
H A D | domain_error.pass.cpp | 21 static_assert((std::is_base_of<std::logic_error, std::domain_error>::value), in main()
|
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/length.error/ |
H A D | length_error.pass.cpp | 21 static_assert((std::is_base_of<std::logic_error, std::length_error>::value), in main()
|
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/ |
H A D | invalid_argument.pass.cpp | 21 static_assert((std::is_base_of<std::logic_error, std::invalid_argument>::value), in main()
|
/llvm-project/libcxx/test/std/diagnostics/std.exceptions/out.of.range/ |
H A D | out_of_range.pass.cpp | 21 static_assert((std::is_base_of<std::logic_error, std::out_of_range>::value), in main()
|
/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
H A D | StdSymbolMap.inc | 2082 SYMBOL(logic_error, std::, <stdexcept>)
|