Cppcheck
CheckUnusedVar Member List

This is the complete list of members for CheckUnusedVar, including all inherited members.

allocatedButUnusedVariableError(const Token *tok, const std::string &varname)CheckUnusedVarprivate
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &)Checkinlinevirtual
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
checkFunctionVariableUsage()CheckUnusedVarprivate
checkFunctionVariableUsage_iterateScopes(const Scope *const scope, Variables &variables)CheckUnusedVarprivate
checkStructMemberUsage()CheckUnusedVarprivate
CheckUnusedVar()CheckUnusedVarinline
CheckUnusedVar(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckUnusedVarinlineprivate
classInfo() const overrideCheckUnusedVarinlineprivatevirtual
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckUnusedVarinlineprivatevirtual
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) constCheckprotected
getFileInfo(const Tokenizer &, const Settings &) constCheckinlinevirtual
getMessageId(const ValueFlow::Value &value, const char id[])Checkprotectedstatic
instances()Checkstatic
isEmptyType(const Type *type)CheckUnusedVarprivate
isFunctionWithoutSideEffects(const Function &func, const Token *functionUsageToken, std::list< const Function * > checkedFuncs)CheckUnusedVarprivate
isRecordTypeWithoutSideEffects(const Type *type)CheckUnusedVarprivate
isVariableWithoutSideEffects(const Variable &var, const Type *type=nullptr)CheckUnusedVarprivate
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) constCheckinlinevirtual
logChecker(const char id[])Checkprotected
mErrorLoggerCheckprotected
mIsEmptyTypeMapCheckUnusedVarprivate
mIsRecordTypeWithoutSideEffectsMapCheckUnusedVarprivate
mNameCheckprivate
mSettingsCheckprotected
mTokenizerCheckprotected
myName()CheckUnusedVarinlineprivatestatic
name() constCheckinline
operator=(const Check &)=deleteCheck
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg)Checkinlineprotected
reportError(const Token *tok, const Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty)Checkinlineprotected
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg)Checkinlineprotected
reportError(const std::list< const Token * > &callstack, Severity severity, const std::string &id, const std::string &msg, const CWE &cwe, Certainty certainty)Checkprotected
reportError(const ErrorPath &errorPath, Severity severity, const char id[], const std::string &msg, const CWE &cwe, Certainty certainty)Checkprotected
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) overrideCheckUnusedVarinlineprivatevirtual
TestUnusedVar classCheckUnusedVarfriend
unassignedVariableError(const Token *tok, const std::string &varname)CheckUnusedVarprivate
unreadVariableError(const Token *tok, const std::string &varname, bool modified)CheckUnusedVarprivate
unusedStructMemberError(const Token *tok, const std::string &structname, const std::string &varname, const std::string &prefix="struct")CheckUnusedVarprivate
unusedVariableError(const Token *tok, const std::string &varname)CheckUnusedVarprivate
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual