| 61 | #define checkP(...) checkP_(__FILE__, __LINE__, __VA_ARGS__) |
| 62 | template<size_t size> |
| 63 | void checkP_(const char* file, int line, const char (&code)[size]) { |
| 64 | SimpleTokenizer2 tokenizer(settings, *this, code, "test.cpp"); |
| 65 | |
| 66 | // Tokenize.. |
| 67 | ASSERT_LOC(tokenizer.simplifyTokens1(""), file, line); |
| 68 | |
| 69 | CheckSizeof check; |
| 70 | runChecks(check, tokenizer, *this); |
| 71 | } |
| 72 | |
| 73 | void sizeofsizeof() { |
| 74 | check("void foo()\n" |
nothing calls this directly
no test coverage detected