Cppcheck
|
This is the complete list of members for CheckStl, including all inherited members.
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &) | Check | inlinevirtual |
Check(const std::string &aname) | Check | explicit |
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | Check | inlineprotected |
Check(const Check &)=delete | Check | |
checkDereferenceInvalidIterator() | CheckStl | private |
checkDereferenceInvalidIterator2() | CheckStl | private |
checkFindInsert() | CheckStl | private |
checkFindInsertError(const Token *tok) | CheckStl | private |
checkIteratorPair(const Token *tok1, const Token *tok2) | CheckStl | private |
checkMutexes() | CheckStl | private |
CheckStl() | CheckStl | inline |
CheckStl(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckStl | inlineprivate |
classInfo() const override | CheckStl | inlineprivatevirtual |
dereferenceErasedError(const Token *erased, const Token *deref, const std::string &itername, bool inconclusive) | CheckStl | private |
dereferenceInvalidIteratorError(const Token *deref, const std::string &iterName) | CheckStl | private |
dereferenceInvalidIteratorError(const Token *tok, const ValueFlow::Value *value, bool inconclusive) | CheckStl | private |
erase() | CheckStl | private |
eraseCheckLoopVar(const Scope &scope, const Variable *var) | CheckStl | private |
eraseIteratorOutOfBounds() | CheckStl | private |
eraseIteratorOutOfBoundsError(const Token *ftok, const Token *itertok, const ValueFlow::Value *val=nullptr) | CheckStl | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckStl | inlineprivatevirtual |
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) const | Check | protected |
getFileInfo(const Tokenizer &, const Settings &) const | Check | inlinevirtual |
getMessageId(const ValueFlow::Value &value, const char id[]) | Check | protectedstatic |
globalLockGuardError(const Token *tok) | CheckStl | private |
if_find() | CheckStl | private |
if_findError(const Token *tok, bool str) | CheckStl | private |
instances() | Check | static |
invalidContainer() | CheckStl | private |
invalidContainerError(const Token *tok, const Token *contTok, const ValueFlow::Value *val, ErrorPath errorPath) | CheckStl | private |
invalidContainerLoopError(const Token *tok, const Token *loopTok, ErrorPath errorPath) | CheckStl | private |
invalidContainerReferenceError(const Token *tok, const Token *contTok, ErrorPath errorPath) | CheckStl | private |
invalidIteratorError(const Token *tok, const std::string &iteratorName) | CheckStl | private |
isContainerSize(const Token *containerToken, const Token *expr) const | CheckStl | private |
isContainerSizeGE(const Token *containerToken, const Token *expr) const | CheckStl | private |
iterators() | CheckStl | private |
iteratorsError(const Token *tok, const std::string &containerName1, const std::string &containerName2) | CheckStl | private |
iteratorsError(const Token *tok, const Token *containerTok, const std::string &containerName1, const std::string &containerName2) | CheckStl | private |
iteratorsError(const Token *tok, const Token *containerTok, const std::string &containerName) | CheckStl | private |
knownEmptyContainer() | CheckStl | private |
knownEmptyContainerError(const Token *tok, const std::string &algo) | CheckStl | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
localMutexError(const Token *tok) | CheckStl | private |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
mismatchingContainerExpressionError(const Token *tok1, const Token *tok2) | CheckStl | private |
mismatchingContainerIterator() | CheckStl | private |
mismatchingContainerIteratorError(const Token *containerTok, const Token *iterTok, const Token *containerTok2) | CheckStl | private |
mismatchingContainers() | CheckStl | private |
mismatchingContainersError(const Token *tok1, const Token *tok2) | CheckStl | private |
missingComparison() | CheckStl | private |
missingComparisonError(const Token *incrementToken1, const Token *incrementToken2) | CheckStl | private |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckStl | inlineprivatestatic |
name() const | Check | inline |
negativeIndex() | CheckStl | private |
negativeIndexError(const Token *tok, const ValueFlow::Value &index) | CheckStl | private |
operator=(const Check &)=delete | Check | |
outOfBounds() | CheckStl | private |
outOfBoundsError(const Token *tok, const std::string &containerName, const ValueFlow::Value *containerSize, const std::string &index, const ValueFlow::Value *indexValue) | CheckStl | private |
outOfBoundsIndexExpression() | CheckStl | private |
outOfBoundsIndexExpressionError(const Token *tok, const Token *index) | CheckStl | private |
redundantCondition() | CheckStl | private |
redundantIfRemoveError(const Token *tok) | CheckStl | private |
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg) | Check | inlineprotected |
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty) | Check | inlineprotected |
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg) | Check | inlineprotected |
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty) | Check | protected |
reportError(const ErrorPath &errorPath, Severity severity, const char id[], const std::string &msg, const CWE &cwe, Certainty certainty) | Check | protected |
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) override | CheckStl | inlineprivatevirtual |
sameIteratorExpressionError(const Token *tok) | CheckStl | private |
size() | CheckStl | private |
sizeError(const Token *tok) | CheckStl | private |
stlBoundaries() | CheckStl | private |
stlBoundariesError(const Token *tok) | CheckStl | private |
stlOutOfBounds() | CheckStl | private |
stlOutOfBoundsError(const Token *tok, const std::string &num, const std::string &var, bool at) | CheckStl | private |
string_c_str() | CheckStl | private |
string_c_strAssignment(const Token *tok, const std::string &argtype="std::string") | CheckStl | private |
string_c_strConcat(const Token *tok) | CheckStl | private |
string_c_strConstructor(const Token *tok, const std::string &argtype="std::string") | CheckStl | private |
string_c_strError(const Token *tok) | CheckStl | private |
string_c_strParam(const Token *tok, nonneg int number, const std::string &argtype="std::string") | CheckStl | private |
string_c_strReturn(const Token *tok) | CheckStl | private |
string_c_strStream(const Token *tok) | CheckStl | private |
string_c_strThrowError(const Token *tok) | CheckStl | private |
SubstrErrorType enum name | CheckStl | private |
uselessCalls() | CheckStl | private |
uselessCallsConstructorError(const Token *tok) | CheckStl | private |
uselessCallsEmptyError(const Token *tok) | CheckStl | private |
uselessCallsRemoveError(const Token *tok, const std::string &function) | CheckStl | private |
uselessCallsReturnValueError(const Token *tok, const std::string &varname, const std::string &function) | CheckStl | private |
uselessCallsSubstrError(const Token *tok, SubstrErrorType type) | CheckStl | private |
uselessCallsSwapError(const Token *tok, const std::string &varname) | CheckStl | private |
useStlAlgorithm() | CheckStl | private |
useStlAlgorithmError(const Token *tok, const std::string &algoName) | CheckStl | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |