| 358 | } |
| 359 | |
| 360 | void CheckStlImpl::iteratorsError(const Token* tok, const std::string& containerName1, const std::string& containerName2) |
| 361 | { |
| 362 | reportError(tok, Severity::error, "iterators1", |
| 363 | "$symbol:" + containerName1 + "\n" |
| 364 | "$symbol:" + containerName2 + "\n" |
| 365 | "Same iterator is used with different containers '" + containerName1 + "' and '" + containerName2 + "'.", CWE664, Certainty::normal); |
| 366 | } |
| 367 | |
| 368 | void CheckStlImpl::iteratorsError(const Token* tok, const Token* containerTok, const std::string& containerName) |
| 369 | { |
no test coverage detected