| 84 | #define check(...) check_(__FILE__, __LINE__, __VA_ARGS__) |
| 85 | template<size_t size> |
| 86 | void check_(const char* file, int line, const char (&code)[size], const CheckOptions& options = make_default_obj()) { |
| 87 | // Tokenize.. |
| 88 | SimpleTokenizer tokenizer(settings, *this, options.cpp); |
| 89 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 90 | |
| 91 | CheckBool check; |
| 92 | runChecks(check, tokenizer, *this); |
| 93 | } |
| 94 | |
| 95 | |
| 96 | void assignBoolToPointer() { |
nothing calls this directly
no test coverage detected