| 8438 | #define checkHdrs(...) checkHdrs_(__FILE__, __LINE__, __VA_ARGS__) |
| 8439 | template<size_t size> |
| 8440 | std::string checkHdrs_(const char* file, int line, const char (&code)[size], bool checkHeadersFlag) { |
| 8441 | const Settings settings = settingsBuilder().checkHeaders(checkHeadersFlag).build(); |
| 8442 | |
| 8443 | SimpleTokenizer2 tokenizer(settings, *this, code, "test.cpp"); |
| 8444 | |
| 8445 | // Tokenizer.. |
| 8446 | ASSERT_LOC(tokenizer.simplifyTokens1(""), file, line); |
| 8447 | |
| 8448 | return tokenizer.tokens()->stringifyList(false, false, true, true, true); |
| 8449 | } |
| 8450 | |
| 8451 | void checkHeader1() { |
| 8452 | // #9977 |
nothing calls this directly
no test coverage detected