| 779 | // clang-format on |
| 780 | |
| 781 | const char* failureString(assertType::Enum at) { |
| 782 | if(at & assertType::is_warn) //!OCLINT bitwise operator in conditional |
| 783 | return "WARNING"; |
| 784 | if(at & assertType::is_check) //!OCLINT bitwise operator in conditional |
| 785 | return "ERROR"; |
| 786 | if(at & assertType::is_require) //!OCLINT bitwise operator in conditional |
| 787 | return "FATAL ERROR"; |
| 788 | return ""; |
| 789 | } |
| 790 | |
| 791 | DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference") |
| 792 | DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference") |
no outgoing calls
no test coverage detected