Home
last modified time | relevance | path

Searched refs:runtime_error (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/libcxx/src/support/runtime/
H A Dstdexcept_default.ipp33 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) {}
35 runtime_error::runtime_error(const char* msg) : __imp_(msg) {}
37 runtime_error::runtime_error(const runtime_error& re) noexcept
40 runtime_error& runtime_error::operator=(const runtime_error& re) noexcept {
49 const char* runtime_error::what() const noexcept { return __imp_.c_str(); }
57 runtime_error::~runtime_error() noexcept {}
H A Dstdexcept_vcruntime.ipp15 runtime_error::runtime_error(std::string const& s) : exception(s.c_str()) {}
/llvm-project-15.0.7/openmp/runtime/tools/lib/
H A Dtools.pm85 my @warning = ( sub {}, \&warning, \&runtime_error );
496 sub runtime_error(@) { subroutine
913 runtime_error( "$prefix: $@" );
916 runtime_error( "$prefix." );
1053 runtime_error( $prefix, "Cannot stat `$dir': $!" );
1056 runtime_error( $prefix, "It is not a directory." );
1151 rmdir( $dir ) or runtime_error( "$prefix." );
1381 my $error = \&runtime_error;
1898 runtime_error( $@ );
1904 runtime_error( $@ );
[all …]
H A DUname.pm242 or runtime_error( "$release: There is no DISTRIB_ID:", $bulk, "(eof)" );
245 or runtime_error( "$release: There is no DISTRIB_RELEASE:", $bulk, "(eof)" );
248 or runtime_error( "$release: There is no DISTRIB_CODENAME:", $bulk, "(eof)" );
251 or runtime_error( "$release: There is no DISTRIB_DESCRIPTION:", $bulk, "(eof)" );
289 or runtime_error( "$release: Cannot find the first line:", $bulk, "(eof)" );
293 or runtime_error( "$release:1: Cannot parse line:", $first_line );
303 or runtime_error( "$release: Cannot find the first line:", $bulk, "(eof)" );
307 or runtime_error( "$release:1: Cannot parse line:", $first_line );
310 or runtime_error( "$release: There is no VERSION:", $bulk, "(eof)" );
320 or runtime_error( "$release: Cannot find the first line:", $bulk, "(eof)" );
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dweak-external.cpp45 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-15.0.7/libcxx/include/
H A Dstdexcept24 class runtime_error;
100 class _LIBCPP_EXCEPTION_ABI runtime_error
107 explicit runtime_error(const string&);
108 explicit runtime_error(const char*);
110 runtime_error(const runtime_error&) _NOEXCEPT;
111 runtime_error& operator=(const runtime_error&) _NOEXCEPT;
113 virtual ~runtime_error() _NOEXCEPT;
118 explicit runtime_error(const _VSTD::string&); // Symbol uses versioned std::string
175 : public runtime_error
188 : public runtime_error
[all …]
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/runtime.error/
H A Druntime_error.pass.cpp21 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-15.0.7/openmp/runtime/tools/
H A Dcheck-execstack.pl38 runtime_error( "$file: No stack segment found; looks like stack would be executable." );
41runtime_error( "$file: More than one stack segment found.", "readelf output:", @output, "(eof)" );
49 runtime_error( "$file: Cannot parse stack segment line:", ">>> $stack[ 0 ]" );
53 runtime_error( "$file: Stack is executable" );
H A Dcheck-depends.pl36 runtime_error( "Fail to parse $tool output:", @bulk, "(eof)" );
251runtime_error( "Incorrect file is specified: `$lib'; only `lib', `dll' or `exe' file expected" );
358 runtime_error( "Specified file does not exist: \"$lib\"" );
370 runtime_error( "OS \"$target_os\" not supported" );
387 runtime_error( "Unexpected dependencies:", map( " $_", @unexpected ) );
H A Dcheck-instruction-set.pl142 runtime_error( "Invalid file format: $fmt." );
172 runtime_error( "Error parsing objdump output line $n:\n>>>> $line\n" );
206 runtime_error( "Only works on lin_32 and lin_mic platforms." );
H A Dgenerate-def.pl40 runtime_error(
116 runtime_error(
H A Dmessage-converter.pl142 runtime_error( "Error parsing $name line $n: " . "$msg:\n" . " $line" );
233 runtime_error(
492 runtime_error( "OS \"$target_os\" is not supported" );
/llvm-project-15.0.7/clang/test/SemaCXX/
H A DPR9460.cpp11 struct runtime_error{ struct
12 runtime_error(
15 runtime_error(0);
H A DPR9461.cpp29 struct runtime_error{runtime_error(string);}; struct
31 struct system_error:runtime_error{ // expected-note {{to match}}
/llvm-project-15.0.7/libcxx/src/
H A Dsystem_error.cpp247 : runtime_error(__init(ec, what_arg)), in system_error()
253 : runtime_error(__init(ec, what_arg)), in system_error()
259 : runtime_error(__init(ec, "")), in system_error()
265 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
271 : runtime_error(__init(error_code(ev, ecat), what_arg)), in system_error()
277 : runtime_error(__init(error_code(ev, ecat), "")), in system_error()
/llvm-project-15.0.7/libcxxabi/src/
H A Dstdlib_stdexcept.cpp30 runtime_error::~runtime_error() noexcept {} in ~runtime_error()
33 runtime_error::what() const noexcept in what()
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_error.h28 class _LIBCPP_EXCEPTION_ABI format_error : public runtime_error {
31 : runtime_error(__s) {} in format_error()
33 : runtime_error(__s) {} in format_error()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dthrow-keyword-missing.cpp29 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-15.0.7/openmp/libomptarget/test/offloading/
H A Dbug50022.cpp22 throw std::runtime_error("wrong result!"); in main()
30 throw std::runtime_error("wrong result!"); in main()
/llvm-project-15.0.7/compiler-rt/test/hwasan/TestCases/
H A Dtry-catch.cpp21 throw std::runtime_error("hello"); in h()
54 } catch (const std::runtime_error &e) { in f()
/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale/locale.cons/
H A Dchar_pointer.pass.cpp91 catch (std::runtime_error&) in main()
99 catch (std::runtime_error&) in main()
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.object/
H A Dsemiregular.compile.pass.cpp111 static_assert(!std::semiregular<std::runtime_error>);
113 !std::semiregular<std::tuple<std::runtime_error, std::overflow_error> >);
/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()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/overflow.error/
H A Doverflow_error.pass.cpp21 static_assert((std::is_base_of<std::runtime_error, std::overflow_error>::value), in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/range.error/
H A Drange_error.pass.cpp21 static_assert((std::is_base_of<std::runtime_error, std::range_error>::value), in main()

12