| 1218 | #define checkOpertorEqRetRefThis(...) checkOpertorEqRetRefThis_( __FILE__, __LINE__, __VA_ARGS__) |
| 1219 | template<size_t size> |
| 1220 | void checkOpertorEqRetRefThis_(const char* file, int line, const char (&code)[size]) { |
| 1221 | // Tokenize.. |
| 1222 | SimpleTokenizer tokenizer(settings0, *this); |
| 1223 | ASSERT_LOC(tokenizer.tokenize(code), file, line); |
| 1224 | |
| 1225 | // Check.. |
| 1226 | CheckClassImpl checkClass(&tokenizer, settings0, *this); |
| 1227 | checkClass.operatorEqRetRefThis(); |
| 1228 | } |
| 1229 | |
| 1230 | void operatorEqRetRefThis1() { |
| 1231 | checkOpertorEqRetRefThis( |
nothing calls this directly
no test coverage detected