| 994 | curr_rep->function(__VA_ARGS__) |
| 995 | |
| 996 | bool checkIfShouldThrow(assertType::Enum at) { |
| 997 | if(at & assertType::is_require) //!OCLINT bitwise operator in conditional |
| 998 | return true; |
| 999 | |
| 1000 | if((at & assertType::is_check) //!OCLINT bitwise operator in conditional |
| 1001 | && getContextOptions()->abort_after > 0 && |
| 1002 | (g_cs->numAssertsFailed + g_cs->numAssertsFailedCurrentTest_atomic) >= |
| 1003 | getContextOptions()->abort_after) |
| 1004 | return true; |
| 1005 | |
| 1006 | return false; |
| 1007 | } |
| 1008 | |
| 1009 | #ifndef DOCTEST_CONFIG_NO_EXCEPTIONS |
| 1010 | DOCTEST_NORETURN void throwException() { |
no test coverage detected