Cppcheck
|
This is the complete list of members for CheckCondition, including all inherited members.
alwaysTrueFalse() | CheckCondition | private |
alwaysTrueFalseError(const Token *tok, const Token *condition, const ValueFlow::Value *value) | CheckCondition | private |
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &) | Check | inlinevirtual |
assignIf() | CheckCondition | private |
assignIfError(const Token *tok1, const Token *tok2, const std::string &condition, bool result) | CheckCondition | private |
assignIfParseScope(const Token *const assignTok, const Token *const startTok, const nonneg int varid, const bool islocal, const char bitop, const MathLib::bigint num) | CheckCondition | private |
assignmentInCondition(const Token *eq) | CheckCondition | private |
badBitmaskCheckError(const Token *tok, bool isNoOp=false) | CheckCondition | private |
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 | |
checkAssignmentInCondition() | CheckCondition | private |
checkBadBitmaskCheck() | CheckCondition | private |
checkCompareValueOutOfTypeRange() | CheckCondition | private |
CheckCondition() | CheckCondition | inline |
CheckCondition(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckCondition | inlineprivate |
checkDuplicateConditionalAssign() | CheckCondition | private |
checkIncorrectLogicOperator() | CheckCondition | private |
checkInvalidTestForOverflow() | CheckCondition | private |
checkModuloAlwaysTrueFalse() | CheckCondition | private |
checkPointerAdditionResultNotNull() | CheckCondition | private |
clarifyCondition() | CheckCondition | private |
clarifyConditionError(const Token *tok, bool assign, bool boolop) | CheckCondition | private |
classInfo() const override | CheckCondition | inlineprivatevirtual |
compareValueOutOfTypeRangeError(const Token *comparison, const std::string &type, long long value, bool result) | CheckCondition | private |
comparison() | CheckCondition | private |
comparisonError(const Token *tok, const std::string &bitop, MathLib::bigint value1, const std::string &op, MathLib::bigint value2, bool result) | CheckCondition | private |
diag(const Token *tok, bool insert=true) | CheckCondition | private |
duplicateCondition() | CheckCondition | private |
duplicateConditionalAssignError(const Token *condTok, const Token *assignTok, bool isRedundant=false) | CheckCondition | private |
duplicateConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath) | CheckCondition | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckCondition | 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 |
identicalConditionAfterEarlyExitError(const Token *cond1, const Token *cond2, ErrorPath errorPath) | CheckCondition | private |
identicalInnerConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath) | CheckCondition | private |
incorrectLogicOperatorError(const Token *tok, const std::string &condition, bool always, bool inconclusive, ErrorPath errors) | CheckCondition | private |
instances() | Check | static |
invalidTestForOverflow(const Token *tok, const ValueType *valueType, const std::string &replace) | CheckCondition | private |
isAliased(const std::set< int > &vars) const | CheckCondition | private |
isOverlappingCond(const Token *const cond1, const Token *const cond2, bool pure) const | CheckCondition | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
logChecker(const char id[]) | Check | protected |
mCondDiags | CheckCondition | private |
mErrorLogger | Check | protected |
mismatchingBitAndError(const Token *tok1, const MathLib::bigint num1, const Token *tok2, const MathLib::bigint num2) | CheckCondition | private |
mName | Check | private |
moduloAlwaysTrueFalseError(const Token *tok, const std::string &maxVal) | CheckCondition | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
multiCondition() | CheckCondition | private |
multiCondition2() | CheckCondition | private |
myName() | CheckCondition | inlineprivatestatic |
name() const | Check | inline |
operator=(const Check &)=delete | Check | |
oppositeElseIfConditionError(const Token *ifCond, const Token *elseIfCond, ErrorPath errorPath) | CheckCondition | private |
oppositeInnerConditionError(const Token *tok1, const Token *tok2, ErrorPath errorPath) | CheckCondition | private |
overlappingElseIfConditionError(const Token *tok, nonneg int line1) | CheckCondition | private |
pointerAdditionResultNotNullError(const Token *tok, const Token *calc) | CheckCondition | private |
redundantConditionError(const Token *tok, const std::string &text, bool inconclusive) | CheckCondition | 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 | CheckCondition | inlineprivatevirtual |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |