| /llvm-project-15.0.7/libcxx/test/std/re/re.badexp/ |
| H A D | regex_error.pass.cpp | 28 …LIBCPP_ASSERT(e.what() == std::string("The expression contained an invalid collating element name.… in main() 33 …LIBCPP_ASSERT(e.what() == std::string("The expression contained an invalid character class name.")… in main() 38 …LIBCPP_ASSERT(e.what() == std::string("The expression contained an invalid escaped character, or a… in main() 44 … LIBCPP_ASSERT(e.what() == std::string("The expression contained an invalid back reference.")); in main() 49 LIBCPP_ASSERT(e.what() == std::string("The expression contained mismatched [ and ].")); in main() 54 LIBCPP_ASSERT(e.what() == std::string("The expression contained mismatched ( and ).")); in main() 59 LIBCPP_ASSERT(e.what() == std::string("The expression contained mismatched { and }.")); in main() 69 … LIBCPP_ASSERT(e.what() == std::string("The expression contained an invalid character range, " in main() 75 …LIBCPP_ASSERT(e.what() == std::string("There was insufficient memory to convert the expression int… in main() 81 …LIBCPP_ASSERT(e.what() == std::string("One of *?+{ was not preceded by a valid regular expression.… in main() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | default-synthesize-1.m | 16 //@synthesize howMany, what; 26 //@synthesize howMany, what; 33 - (NSString*) what { method 46 //@synthesize howMany, what; 53 // - (NSString*) what 65 @property (retain) NSString* what; property 78 - (NSString*) what { method 79 return what; // expected-error {{use of undeclared identifier 'what'}} 82 if (what != value) { // expected-error {{use of undeclared identifier 'what'}} 83 [what release]; // expected-error {{use of undeclared identifier 'what'}} [all …]
|
| H A D | default-synthesize.m | 9 @property (retain) NSString* what; property 14 @synthesize howMany, what; 26 @synthesize howMany, what; 34 - (NSString*) what { method in objc_default_synthesize_properties 35 return self.what; 48 @synthesize howMany, what; 56 // - (NSString*) what 58 if (self.what != value) { 81 - (NSString*) what { method in objc_default_synthesize_properties 82 return self.what; [all …]
|
| H A D | bad-property-synthesis-crash.m | 5 @property (nonatomic, retain) NSString* what; // expected-error {{unknown type name 'NSString'}} \ property 16 @synthesize what; // expected-note {{'what' declared here}} 20 - (NSString*) what { // expected-error {{expected a type}} method
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/format/format.string/format.string.std/ |
| H A D | test_exception.h | 17 void test_exception(std::string_view what, const CharT* fmt) { in test_exception() argument 23 LIBCPP_ASSERT(e.what() == what); in test_exception() 41 constexpr void test_exception(std::string_view what, const CharT* fmt) { in test_exception() argument 44 detail::test_exception<Parser>(what, fmt); in test_exception() 46 (void)what; in test_exception()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | __try.cpp | 19 Exception(const char* s = "Unknown"){what = strdup(s); } in Exception() 20 Exception(const Exception& e ){what = strdup(e.what); } in Exception() 21 ~Exception() {free(what); } in ~Exception() 22 const char* msg() const {return what; } in msg() 24 const char* what; member in Exception
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.error/ |
| H A D | format.error.pass.cpp | 34 assert(std::strcmp(e.what(), msg) == 0); in main() 36 assert(std::strcmp(e2.what(), msg) == 0); in main() 38 assert(std::strcmp(e2.what(), msg) == 0); in main() 43 assert(e.what() == msg); in main() 45 assert(e2.what() == msg); in main() 47 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/domain.error/ |
| H A D | domain_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/ |
| H A D | invalid_argument.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/overflow.error/ |
| H A D | overflow_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/length.error/ |
| H A D | length_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/range.error/ |
| H A D | range_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/out.of.range/ |
| H A D | out_of_range.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/runtime.error/ |
| H A D | runtime_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/underflow.error/ |
| H A D | underflow_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/std.exceptions/logic.error/ |
| H A D | logic_error.pass.cpp | 28 assert(std::strcmp(e.what(), msg) == 0); in main() 30 assert(std::strcmp(e2.what(), msg) == 0); in main() 32 assert(std::strcmp(e2.what(), msg) == 0); in main() 37 assert(e.what() == msg); in main() 39 assert(e2.what() == msg); in main() 41 assert(e2.what() == msg); in main()
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | stdlib_exception.cpp | 21 const char* exception::what() const noexcept in what() function in std::exception 32 const char* bad_exception::what() const noexcept in what() function in std::bad_exception 49 bad_alloc::what() const noexcept in what() function in std::bad_alloc 65 bad_array_new_length::what() const noexcept in what() function in std::bad_array_new_length
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.future_error/ |
| H A D | what.pass.cpp | 32 LIBCPP_ASSERT(std::strcmp(f.what(), "The associated promise has been destructed prior " in main() 37 LIBCPP_ASSERT(std::strcmp(f.what(), "The future has already been retrieved from " in main() 42 LIBCPP_ASSERT(std::strcmp(f.what(), "The state of the promise has already been set.") == 0); in main() 46 LIBCPP_ASSERT(std::strcmp(f.what(), "Operation not permitted on an object without " in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/ |
| H A D | vformat.pass.cpp | 35 auto test_exception = []<class CharT, class... Args>(std::string_view what, std::basic_string_view<… 42 LIBCPP_ASSERT(e.what() == what); 47 (void)what;
|
| H A D | vformat.locale.pass.cpp | 36 auto test_exception = []<class CharT, class... Args>(std::string_view what, std::basic_string_view<… 43 LIBCPP_ASSERT(e.what() == what); 48 (void)what;
|
| /llvm-project-15.0.7/libcxx/src/support/runtime/ |
| H A D | exception_fallback.ipp | 87 const char* exception::what() const noexcept 96 const char* bad_exception::what() const noexcept 111 bad_alloc::what() const noexcept 125 bad_array_new_length::what() const noexcept 143 bad_cast::what() const noexcept 153 bad_typeid::what() const noexcept
|
| H A D | exception_msvc.ipp | 95 bad_cast::what() const noexcept 109 bad_typeid::what() const noexcept 118 const char* exception::what() const noexcept 128 const char* bad_exception::what() const noexcept 143 bad_alloc::what() const noexcept 157 bad_array_new_length::what() const noexcept
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | rewrite-modern-default-property-synthesis.mm | 17 @property (retain) NSString* what; 26 @property (nonatomic, retain) NSString* what; 36 - (NSString*) what { 45 @property (nonatomic, retain) NSString* what; property 54 // - (NSString*) what
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | any.cpp | 12 const char* bad_any_cast::what() const noexcept { in what() function in std::bad_any_cast 27 virtual const char* what() const noexcept; 30 const char* bad_any_cast::what() const noexcept { in what() function in bad_any_cast
|
| H A D | legacy_debug_handler.cpp | 21 _LIBCPP_EXPORTED_FROM_ABI string what() const; 29 std::string __libcpp_debug_info::what() const { in what() function in __libcpp_debug_info 39 std::fprintf(stderr, "%s\n", info.what().c_str()); in __libcpp_abort_debug_function()
|