Cppcheck
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CheckOther Member List

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