Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/support/
H A Dcheck_assertion.h259 inline bool ExpectDeath(const char* stmt, Func&& func, AssertionInfoMatcher Matcher) { in ExpectDeath() function
291 inline bool ExpectDeath(const char* stmt, Func&& func) { in ExpectDeath() function
292 return ExpectDeath(stmt, func, AnyMatcher); in ExpectDeath()
296 #define EXPECT_DEATH(...) assert((ExpectDeath(#__VA_ARGS__, [&]() { __VA_ARGS__; } )))
298 #define EXPECT_DEATH_MATCHES(Matcher, ...) assert((ExpectDeath(#__VA_ARGS__, [&]() { __VA_ARGS__; }…
300 #define TEST_LIBCPP_ASSERT_FAILURE(expr, message) assert((ExpectDeath(#expr, [&]() { (void)(expr); …