MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / sameIteratorExpressionError

Method sameIteratorExpressionError

lib/checkstl.cpp:672–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672void CheckStlImpl::sameIteratorExpressionError(const Token *tok)
673{
674 reportError(tok, Severity::style, "sameIteratorExpression", "Same iterators expression are used for algorithm.", CWE664, Certainty::normal);
675}
676
677static std::vector<const Token*> getAddressContainer(const Token* tok)
678{

Callers 1

getErrorMessagesMethod · 0.80

Calls 1

reportErrorFunction · 0.70

Tested by

no test coverage detected