Cppcheck
CheckAutoVariables Member List

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

analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &)Checkinlinevirtual
assignFunctionArg()CheckAutoVariablesprivate
autoVariables()CheckAutoVariablesprivate
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
checkAutoVariableAssignment(const Token *expr, bool inconclusive, const Token *startToken=nullptr)CheckAutoVariablesprivate
CheckAutoVariables()CheckAutoVariablesinline
CheckAutoVariables(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckAutoVariablesinlineprivate
checkVarLifetime()CheckAutoVariablesprivate
checkVarLifetimeScope(const Token *start, const Token *end)CheckAutoVariablesprivate
classInfo() const overrideCheckAutoVariablesinlineprivatevirtual
diag(const Token *tokvalue)CheckAutoVariablesprivate
errorAutoVariableAssignment(const Token *tok, bool inconclusive)CheckAutoVariablesprivate
errorDanglingReference(const Token *tok, const Variable *var, ErrorPath errorPath)CheckAutoVariablesprivate
errorDanglingTemporaryLifetime(const Token *tok, const ValueFlow::Value *val, const Token *tempTok)CheckAutoVariablesprivate
errorDanglingTempReference(const Token *tok, ErrorPath errorPath, bool inconclusive)CheckAutoVariablesprivate
errorDanglngLifetime(const Token *tok, const ValueFlow::Value *val)CheckAutoVariablesprivate
errorInvalidDeallocation(const Token *tok, const ValueFlow::Value *val)CheckAutoVariablesprivate
errorInvalidLifetime(const Token *tok, const ValueFlow::Value *val)CheckAutoVariablesprivate
errorReturnDanglingLifetime(const Token *tok, const ValueFlow::Value *val)CheckAutoVariablesprivate
errorReturnReference(const Token *tok, ErrorPath errorPath, bool inconclusive)CheckAutoVariablesprivate
errorReturnTempReference(const Token *tok, ErrorPath errorPath, bool inconclusive)CheckAutoVariablesprivate
errorUselessAssignmentArg(const Token *tok)CheckAutoVariablesprivate
errorUselessAssignmentPtrArg(const Token *tok)CheckAutoVariablesprivate
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckAutoVariablesinlineprivatevirtual
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
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) constCheckinlinevirtual
logChecker(const char id[])Checkprotected
mDiagDanglingTempCheckAutoVariablesprivate
mErrorLoggerCheckprotected
mNameCheckprivate
mSettingsCheckprotected
mTokenizerCheckprotected
myName()CheckAutoVariablesinlineprivatestatic
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) overrideCheckAutoVariablesinlineprivatevirtual
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual