| 3635 | #define checkThisSubtraction(...) checkThisSubtraction_(__FILE__, __LINE__, __VA_ARGS__) |
| 3636 | template<size_t size> |
| 3637 | void checkThisSubtraction_(const char* file, int line, const char (&code)[size]) { |
| 3638 | // Tokenize.. |
| 3639 | SimpleTokenizer tokenizer(settings1, *this); |
| 3640 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 3641 | |
| 3642 | // Check.. |
| 3643 | CheckClassImpl checkClass(&tokenizer, settings1, *this); |
| 3644 | checkClass.thisSubtraction(); |
| 3645 | } |
| 3646 | |
| 3647 | void this_subtraction() { |
| 3648 | checkThisSubtraction("; this-x ;"); |
nothing calls this directly
no test coverage detected