| 345 | #define tok(...) tok_(__FILE__, __LINE__, __VA_ARGS__) |
| 346 | template<size_t size> |
| 347 | std::string tok_(const char* file, int line, const char (&code)[size], const CheckOptions& options = make_default_obj()) { |
| 348 | const Settings& s = options.debugwarnings ? settings1_d : settings1; |
| 349 | SimpleTokenizer tokenizer(s, *this); |
| 350 | |
| 351 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 352 | |
| 353 | return tokenizer.tokens()->stringifyList(nullptr, true); |
| 354 | } |
| 355 | |
| 356 | #define dump(...) dump_(__FILE__, __LINE__, __VA_ARGS__) |
| 357 | template<size_t size> |
nothing calls this directly
no test coverage detected