| 98 | #define check(...) check_(__FILE__, __LINE__, __VA_ARGS__) |
| 99 | template<size_t size> |
| 100 | void check_(const char* file, int line, const char (&code)[size], const CheckOptions& options = make_default_obj()) { |
| 101 | // TODO: avoid copy |
| 102 | const Settings settings1 = (options.platform == Platform::Type::Native) ? settings : settingsBuilder(settings).platform(options.platform).build(); |
| 103 | |
| 104 | check_(file, line, code, settings1, options.cpp); |
| 105 | } |
| 106 | |
| 107 | template<size_t size> |
| 108 | void check_(const char* file, int line, const char (&code)[size], const Settings& settings1, bool cpp = true) { |
nothing calls this directly
no test coverage detected