Cppcheck
CheckCondition Member List

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

alwaysTrueFalse()CheckConditionprivate
alwaysTrueFalseError(const Token *tok, const Token *condition, const ValueFlow::Value *value)CheckConditionprivate
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &)Checkinlinevirtual
assignIf()CheckConditionprivate
assignIfError(const Token *tok1, const Token *tok2, const std::string &condition, bool result)CheckConditionprivate
assignIfParseScope(const Token *const assignTok, const Token *const startTok, const nonneg int varid, const bool islocal, const char bitop, const MathLib::bigint num)CheckConditionprivate
assignmentInCondition(const Token *eq)CheckConditionprivate
badBitmaskCheckError(const Token *tok, bool isNoOp=false)CheckConditionprivate
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
checkAssignmentInCondition()CheckConditionprivate
checkBadBitmaskCheck()CheckConditionprivate
checkCompareValueOutOfTypeRange()CheckConditionprivate
CheckCondition()CheckConditioninline
CheckCondition(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckConditioninlineprivate
checkDuplicateConditionalAssign()CheckConditionprivate
checkIncorrectLogicOperator()CheckConditionprivate
checkInvalidTestForOverflow()CheckConditionprivate
checkModuloAlwaysTrueFalse()CheckConditionprivate
checkPointerAdditionResultNotNull()CheckConditionprivate
clarifyCondition()CheckConditionprivate
clarifyConditionError(const Token *tok, bool assign, bool boolop)CheckConditionprivate
classInfo() const overrideCheckConditioninlineprivatevirtual
compareValueOutOfTypeRangeError(const Token *comparison, const std::string &type, long long value, bool result)CheckConditionprivate
comparison()CheckConditionprivate
comparisonError(const Token *tok, const std::string &bitop, MathLib::bigint value1, const std::string &op, MathLib::bigint value2, bool result)CheckConditionprivate
diag(const Token *tok, bool insert=true)CheckConditionprivate
duplicateCondition()CheckConditionprivate
duplicateConditionalAssignError(const Token *condTok, const Token *assignTok, bool isRedundant=false)CheckConditionprivate
duplicateConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath)CheckConditionprivate
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckConditioninlineprivatevirtual
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
identicalConditionAfterEarlyExitError(const Token *cond1, const Token *cond2, ErrorPath errorPath)CheckConditionprivate
identicalInnerConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath)CheckConditionprivate
incorrectLogicOperatorError(const Token *tok, const std::string &condition, bool always, bool inconclusive, ErrorPath errors)CheckConditionprivate
instances()Checkstatic
invalidTestForOverflow(const Token *tok, const ValueType *valueType, const std::string &replace)CheckConditionprivate
isAliased(const std::set< int > &vars) constCheckConditionprivate
isOverlappingCond(const Token *const cond1, const Token *const cond2, bool pure) constCheckConditionprivate
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) constCheckinlinevirtual
logChecker(const char id[])Checkprotected
mCondDiagsCheckConditionprivate
mErrorLoggerCheckprotected
mismatchingBitAndError(const Token *tok1, const MathLib::bigint num1, const Token *tok2, const MathLib::bigint num2)CheckConditionprivate
mNameCheckprivate
moduloAlwaysTrueFalseError(const Token *tok, const std::string &maxVal)CheckConditionprivate
mSettingsCheckprotected
mTokenizerCheckprotected
multiCondition()CheckConditionprivate
multiCondition2()CheckConditionprivate
myName()CheckConditioninlineprivatestatic
name() constCheckinline
operator=(const Check &)=deleteCheck
oppositeElseIfConditionError(const Token *ifCond, const Token *elseIfCond, ErrorPath errorPath)CheckConditionprivate
oppositeInnerConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath)CheckConditionprivate
overlappingElseIfConditionError(const Token *tok, nonneg int line1)CheckConditionprivate
pointerAdditionResultNotNullError(const Token *tok, const Token *calc)CheckConditionprivate
redundantConditionError(const Token *tok, const std::string &text, bool inconclusive)CheckConditionprivate
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) overrideCheckConditioninlineprivatevirtual
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual