Cppcheck
|
This is the complete list of members for CheckUnusedVar, including all inherited members.
allocatedButUnusedVariableError(const Token *tok, const std::string &varname) | CheckUnusedVar | private |
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 | |
checkFunctionVariableUsage() | CheckUnusedVar | private |
checkFunctionVariableUsage_iterateScopes(const Scope *const scope, Variables &variables) | CheckUnusedVar | private |
checkStructMemberUsage() | CheckUnusedVar | private |
CheckUnusedVar() | CheckUnusedVar | inline |
CheckUnusedVar(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckUnusedVar | inlineprivate |
classInfo() const override | CheckUnusedVar | inlineprivatevirtual |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckUnusedVar | 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 |
instances() | Check | static |
isEmptyType(const Type *type) | CheckUnusedVar | private |
isFunctionWithoutSideEffects(const Function &func, const Token *functionUsageToken, std::list< const Function * > checkedFuncs) | CheckUnusedVar | private |
isRecordTypeWithoutSideEffects(const Type *type) | CheckUnusedVar | private |
isVariableWithoutSideEffects(const Variable &var, const Type *type=nullptr) | CheckUnusedVar | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
mIsEmptyTypeMap | CheckUnusedVar | private |
mIsRecordTypeWithoutSideEffectsMap | CheckUnusedVar | private |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckUnusedVar | inlineprivatestatic |
name() const | Check | inline |
operator=(const Check &)=delete | Check | |
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 | CheckUnusedVar | inlineprivatevirtual |
TestUnusedVar class | CheckUnusedVar | friend |
unassignedVariableError(const Token *tok, const std::string &varname) | CheckUnusedVar | private |
unreadVariableError(const Token *tok, const std::string &varname, bool modified) | CheckUnusedVar | private |
unusedStructMemberError(const Token *tok, const std::string &structname, const std::string &varname, const std::string &prefix="struct") | CheckUnusedVar | private |
unusedVariableError(const Token *tok, const std::string &varname) | CheckUnusedVar | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |