| 1689 | #define checkOpertorEqToSelf(...) checkOpertorEqToSelf_( __FILE__, __LINE__, __VA_ARGS__) |
| 1690 | template<size_t size> |
| 1691 | void checkOpertorEqToSelf_(const char* file, int line, const char (&code)[size]) { |
| 1692 | // Tokenize.. |
| 1693 | SimpleTokenizer tokenizer(settings1, *this); |
| 1694 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 1695 | |
| 1696 | // Check.. |
| 1697 | CheckClassImpl checkClass(&tokenizer, settings1, *this); |
| 1698 | checkClass.operatorEqToSelf(); |
| 1699 | } |
| 1700 | |
| 1701 | void operatorEqToSelf1() { |
| 1702 | // this test has an assignment test but it is not needed |
nothing calls this directly
no test coverage detected