Cppcheck
|
This is the complete list of members for CheckOther, including all inherited members.
accessMovedError(const Token *tok, const std::string &varname, const ValueFlow::Value *value, bool inconclusive) | CheckOther | private |
analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< FileInfo * > &fileInfo, const Settings &, ErrorLogger &) | Check | inlinevirtual |
charBitOpError(const Token *tok) | CheckOther | 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 | |
checkAccessOfMovedVariable() | CheckOther | private |
checkCastIntToCharAndBack() | CheckOther | private |
checkCastIntToCharAndBackError(const Token *tok, const std::string &strFunctionName) | CheckOther | private |
checkCharVariable() | CheckOther | private |
checkCommaSeparatedReturn() | CheckOther | private |
checkComparePointers() | CheckOther | private |
checkComparisonFunctionIsAlwaysTrueOrFalse() | CheckOther | private |
checkComparisonFunctionIsAlwaysTrueOrFalseError(const Token *tok, const std::string &functionName, const std::string &varName, const bool result) | CheckOther | private |
checkConstPointer() | CheckOther | private |
checkConstVariable() | CheckOther | private |
checkDuplicateBranch() | CheckOther | private |
checkDuplicateExpression() | CheckOther | private |
checkEvaluationOrder() | CheckOther | private |
checkFuncArgNamesDifferent() | CheckOther | private |
checkIncompleteArrayFill() | CheckOther | private |
checkIncompleteStatement() | CheckOther | private |
checkInnerScope(const Token *tok, const Variable *var, bool &used) const | CheckOther | private |
checkInterlockedDecrement() | CheckOther | private |
checkInvalidFree() | CheckOther | private |
checkKnownArgument() | CheckOther | private |
checkKnownPointerToBool() | CheckOther | private |
checkMisusedScopedObject() | CheckOther | private |
checkModuloOfOne() | CheckOther | private |
checkModuloOfOneError(const Token *tok) | CheckOther | private |
checkNanInArithmeticExpression() | CheckOther | private |
checkNegativeBitwiseShift() | CheckOther | private |
CheckOther() | CheckOther | inline |
CheckOther(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckOther | inlineprivate |
checkOverlappingWrite() | CheckOther | private |
checkPassByReference() | CheckOther | private |
checkRedundantAssignment() | CheckOther | private |
checkRedundantCopy() | CheckOther | private |
checkRedundantPointerOp() | CheckOther | private |
checkShadowVariables() | CheckOther | private |
checkSignOfUnsignedVariable() | CheckOther | private |
checkSuspiciousCaseInSwitch() | CheckOther | private |
checkSuspiciousSemicolon() | CheckOther | private |
checkUnreachableCode() | CheckOther | private |
checkUnusedLabel() | CheckOther | private |
checkVarFuncNullUB() | CheckOther | private |
checkVariableScope() | CheckOther | private |
checkZeroDivision() | CheckOther | private |
clarifyCalculation() | CheckOther | private |
clarifyCalculationError(const Token *tok, const std::string &op) | CheckOther | private |
clarifyStatement() | CheckOther | private |
clarifyStatementError(const Token *tok) | CheckOther | private |
classInfo() const override | CheckOther | inlineprivatevirtual |
commaSeparatedReturnError(const Token *tok) | CheckOther | private |
comparePointersError(const Token *tok, const ValueFlow::Value *v1, const ValueFlow::Value *v2) | CheckOther | private |
comparisonNonZeroExpressionLessThanZero(const Token *tok, const ValueFlow::Value *&zeroValue, const Token *&nonZeroExpr, bool suppress=false) | CheckOther | static |
constStatementError(const Token *tok, const std::string &type, bool inconclusive) | CheckOther | private |
constVariableError(const Variable *var, const Function *function) | CheckOther | private |
cstyleCastError(const Token *tok, bool isPtr=true) | CheckOther | private |
duplicateAssignExpressionError(const Token *tok1, const Token *tok2, bool inconclusive) | CheckOther | private |
duplicateBranchError(const Token *tok1, const Token *tok2, ErrorPath errors) | CheckOther | private |
duplicateBreakError(const Token *tok, bool inconclusive) | CheckOther | private |
duplicateExpressionError(const Token *tok1, const Token *tok2, const Token *opTok, ErrorPath errors, bool hasMultipleExpr=false) | CheckOther | private |
duplicateExpressionTernaryError(const Token *tok, ErrorPath errors) | CheckOther | private |
duplicateValueTernaryError(const Token *tok) | CheckOther | private |
funcArgNamesDifferent(const std::string &functionName, nonneg int index, const Token *declaration, const Token *definition) | CheckOther | private |
funcArgOrderDifferent(const std::string &functionName, const Token *declaration, const Token *definition, const std::vector< const Token * > &declarations, const std::vector< const Token * > &definitions) | CheckOther | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckOther | 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 |
incompleteArrayFillError(const Token *tok, const std::string &buffer, const std::string &function, bool boolean) | CheckOther | private |
instances() | Check | static |
invalidFreeError(const Token *tok, const std::string &allocation, bool inconclusive) | CheckOther | private |
invalidPointerCast() | CheckOther | private |
invalidPointerCastError(const Token *tok, const std::string &from, const std::string &to, bool inconclusive, bool toIsInt) | CheckOther | private |
knownArgumentError(const Token *tok, const Token *ftok, const ValueFlow::Value *value, const std::string &varexpr, bool isVariableExpressionHidden) | CheckOther | private |
knownPointerToBoolError(const Token *tok, const ValueFlow::Value *value) | CheckOther | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const | Check | inlinevirtual |
logChecker(const char id[]) | Check | protected |
mErrorLogger | Check | protected |
misusedScopeObjectError(const Token *tok, const std::string &varname, bool isAssignment=false) | CheckOther | private |
mName | Check | private |
mSettings | Check | protected |
mTokenizer | Check | protected |
myName() | CheckOther | inlineprivatestatic |
name() const | Check | inline |
nanInArithmeticExpressionError(const Token *tok) | CheckOther | private |
negativeBitwiseShiftError(const Token *tok, int op) | CheckOther | private |
operator=(const Check &)=delete | Check | |
oppositeExpressionError(const Token *opTok, ErrorPath errors) | CheckOther | private |
overlappingWriteFunction(const Token *tok) | CheckOther | private |
overlappingWriteUnion(const Token *tok) | CheckOther | private |
passedByValueError(const Variable *var, bool inconclusive, bool isRangeBasedFor=false) | CheckOther | private |
pointerLessThanZeroError(const Token *tok, const ValueFlow::Value *v) | CheckOther | private |
pointerPositiveError(const Token *tok, const ValueFlow::Value *v) | CheckOther | private |
raceAfterInterlockedDecrementError(const Token *tok) | CheckOther | private |
redundantAssignmentError(const Token *tok1, const Token *tok2, const std::string &var, bool inconclusive) | CheckOther | private |
redundantAssignmentInSwitchError(const Token *tok1, const Token *tok2, const std::string &var) | CheckOther | private |
redundantBitwiseOperationInSwitchError() | CheckOther | private |
redundantBitwiseOperationInSwitchError(const Token *tok, const std::string &varname) | CheckOther | private |
redundantContinueError(const Token *tok) | CheckOther | private |
redundantCopyError(const Token *tok1, const Token *tok2, const std::string &var) | CheckOther | private |
redundantCopyError(const Token *tok, const std::string &varname) | CheckOther | private |
redundantInitializationError(const Token *tok1, const Token *tok2, const std::string &var, bool inconclusive) | CheckOther | private |
redundantPointerOpError(const Token *tok, const std::string &varname, bool inconclusive, bool addressOfDeref) | CheckOther | 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 | CheckOther | inlineprivatevirtual |
selfAssignmentError(const Token *tok, const std::string &varname) | CheckOther | private |
shadowError(const Token *var, const Token *shadowed, const std::string &type) | CheckOther | private |
signedCharArrayIndexError(const Token *tok) | CheckOther | private |
suspiciousCaseInSwitchError(const Token *tok, const std::string &operatorString) | CheckOther | private |
suspiciousSemicolonError(const Token *tok) | CheckOther | private |
TestCharVar class | CheckOther | friend |
testIfNonZeroExpressionIsPositive(const Token *tok, const ValueFlow::Value *&zeroValue, const Token *&nonZeroExpr) | CheckOther | static |
TestIncompleteStatement class | CheckOther | friend |
TestOther class | CheckOther | friend |
unknownEvaluationOrder(const Token *tok) | CheckOther | private |
unknownSignCharArrayIndexError(const Token *tok) | CheckOther | private |
unreachableCodeError(const Token *tok, const Token *noreturn, bool inconclusive) | CheckOther | private |
unsignedLessThanZeroError(const Token *tok, const ValueFlow::Value *v, const std::string &varname) | CheckOther | private |
unsignedPositiveError(const Token *tok, const ValueFlow::Value *v, const std::string &varname) | CheckOther | private |
unusedLabelError(const Token *tok, bool inSwitch, bool hasIfdef) | CheckOther | private |
varFuncNullUBError(const Token *tok) | CheckOther | private |
variableScopeError(const Token *tok, const std::string &varname) | CheckOther | private |
warningOldStylePointerCast() | CheckOther | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
zerodivError(const Token *tok, const ValueFlow::Value *value) | CheckOther | private |
~Check() | Check | inlinevirtual |