Cppcheck
CheckClass Member List

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

analyseWholeProgram(const CTU::FileInfo *ctu, const std::list< Check::FileInfo * > &fileInfo, const Settings &settings, ErrorLogger &errorLogger) overrideCheckClassprivatevirtual
assignAllVar(std::vector< Usage > &usageList)CheckClassprivatestatic
assignAllVarsVisibleFromScope(std::vector< Usage > &usageList, const Scope *scope)CheckClassprivatestatic
assignVar(std::vector< Usage > &usageList, nonneg int varid)CheckClassprivatestatic
assignVar(std::vector< Usage > &usageList, const Token *vartok)CheckClassprivatestatic
Bool enum nameCheckClassprivate
canNotCopy(const Scope *scope)CheckClassprivatestatic
canNotMove(const Scope *scope)CheckClassprivatestatic
Check(const std::string &aname)Checkexplicit
Check(std::string aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)Checkinlineprotected
Check(const Check &)=deleteCheck
CheckClass()CheckClassinline
CheckClass(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)CheckClassprivate
checkConst()CheckClassprivate
checkConstError(const Token *tok, const std::string &classname, const std::string &funcname, bool suggestStatic)CheckClassprivate
checkConstError2(const Token *tok1, const Token *tok2, const std::string &classname, const std::string &funcname, bool suggestStatic)CheckClassprivate
checkConstFunc(const Scope *scope, const Function *func, MemberAccess &memberAccessed) constCheckClassprivate
checkCopyCtorAndEqOperator()CheckClassprivate
checkDuplInheritedMembers()CheckClassprivate
checkDuplInheritedMembersRecursive(const Type *typeCurrent, const Type *typeBase)CheckClassprivate
checkExplicitConstructors()CheckClassprivate
checkMemset()CheckClassprivate
checkMemsetType(const Scope *start, const Token *tok, const Scope *type, bool allocation, std::set< const Scope * > parsedTypes)CheckClassprivate
checkOverride()CheckClassprivate
checkReturnByReference()CheckClassprivate
checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last)CheckClassprivate
checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last, std::set< const Function * > &analyzedFunctions)CheckClassprivate
checkSelfInitialization()CheckClassprivate
checkThisUseAfterFree()CheckClassprivate
checkThisUseAfterFreeRecursive(const Scope *classScope, const Function *func, const Variable *selfPointer, std::set< const Function * > callstack, const Token *&freeToken)CheckClassprivate
checkUnsafeClassRefMember()CheckClassprivate
checkUselessOverride()CheckClassprivate
checkVirtualFunctionCallInConstructor()CheckClassprivate
classInfo() const overrideCheckClassinlineprivatevirtual
clearAllVar(std::vector< Usage > &usageList)CheckClassprivatestatic
constructors()CheckClassprivate
copyconstructors()CheckClassprivate
copyConstructorShallowCopyError(const Token *tok, const std::string &varname)CheckClassprivate
copyCtorAndEqOperatorError(const Token *tok, const std::string &classname, bool isStruct, bool hasCopyCtor)CheckClassprivate
createUsageList(const Scope *scope)CheckClassprivatestatic
duplInheritedMembersError(const Token *tok1, const Token *tok2, const std::string &derivedName, const std::string &baseName, const std::string &memberName, bool derivedIsStruct, bool baseIsStruct, bool isFunction=false)CheckClassprivate
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const overrideCheckClassinlineprivatevirtual
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) constCheckprotected
getFileInfo(const Tokenizer &tokenizer, const Settings &settings) const overrideCheckClassprivatevirtual
getFirstVirtualFunctionCallStack(std::map< const Function *, std::list< const Token * >> &virtualFunctionCallsMap, const Token *callToken, std::list< const Token * > &pureFuncStack)CheckClassprivatestatic
getIfStmtBodyStart(const Token *tok, const Token *rhs)CheckClassprivatestatic
getMessageId(const ValueFlow::Value &value, const char id[])Checkprotectedstatic
getVirtualFunctionCalls(const Function &function, std::map< const Function *, std::list< const Token * >> &virtualFunctionCallsMap)CheckClassprivate
hasAllocation(const Function *func, const Scope *scope) constCheckClassprivate
hasAllocation(const Function *func, const Scope *scope, const Token *start, const Token *end) constCheckClassprivate
hasAllocationInIfScope(const Function *func, const Scope *scope, const Token *ifStatementScopeStart) constCheckClassprivate
hasAssignSelf(const Function *func, const Token *rhs, const Token *&out_ifStatementScopeStart)CheckClassprivatestatic
initializationListUsage()CheckClassprivate
initializerListError(const Token *tok1, const Token *tok2, const std::string &classname, const std::string &varname, const std::string &argname={})CheckClassprivate
initializerListOrder()CheckClassprivate
initializeVarList(const Function &func, std::list< const Function * > &callstack, const Scope *scope, std::vector< Usage > &usage) constCheckClassprivate
initVar(std::vector< Usage > &usageList, nonneg int varid)CheckClassprivatestatic
instances()Checkstatic
isBaseClassMutableMemberFunc(const Token *tok, const Scope *scope)CheckClassprivatestatic
isConstMemberFunc(const Scope *scope, const Token *tok)CheckClassprivatestatic
isInverted(const Token *tok, const Token *rhs)CheckClassprivatestatic
isMemberFunc(const Scope *scope, const Token *tok)CheckClassprivatestatic
isMemberVar(const Scope *scope, const Token *tok) constCheckClassprivate
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const overrideCheckClassprivatevirtual
logChecker(const char id[])Checkprotected
mallocOnClassError(const Token *tok, const std::string &memfunc, const Token *classTok, const std::string &classname)CheckClassprivate
mallocOnClassWarning(const Token *tok, const std::string &memfunc, const Token *classTok)CheckClassprivate
MemberAccess enum nameCheckClassprivate
memsetError(const Token *tok, const std::string &memfunc, const std::string &classname, const std::string &type, bool isContainer=false)CheckClassprivate
memsetErrorFloat(const Token *tok, const std::string &type)CheckClassprivate
memsetErrorReference(const Token *tok, const std::string &memfunc, const std::string &type)CheckClassprivate
mErrorLoggerCheckprotected
missingMemberCopyError(const Token *tok, Function::Type functionType, const std::string &classname, const std::string &varname)CheckClassprivate
mNameCheckprivate
mSettingsCheckprotected
mSymbolDatabaseCheckClassprivate
mTokenizerCheckprotected
myName()CheckClassinlineprivatestatic
name() constCheckinline
noConstructorError(const Token *tok, const std::string &classname, bool isStruct)CheckClassprivate
noCopyConstructorError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive)CheckClassprivate
noDestructorError(const Scope *scope, bool isdefault, const Token *alloc)CheckClassprivate
noExplicitConstructorError(const Token *tok, const std::string &classname, bool isStruct)CheckClassprivate
noOperatorEqError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive)CheckClassprivate
operator=(const Check &)=deleteCheck
operatorEqMissingReturnStatementError(const Token *tok, bool error)CheckClassprivate
operatorEqRetRefThis()CheckClassprivate
operatorEqRetRefThisError(const Token *tok)CheckClassprivate
operatorEqShouldBeLeftUnimplementedError(const Token *tok)CheckClassprivate
operatorEqToSelf()CheckClassprivate
operatorEqToSelfError(const Token *tok)CheckClassprivate
operatorEqVarError(const Token *tok, const std::string &classname, const std::string &varname, bool inconclusive)CheckClassprivate
overrideError(const Function *funcInBase, const Function *funcInDerived)CheckClassprivate
privateFunctions()CheckClassprivate
pureVirtualFunctionCallInConstructorError(const Function *scopeFunction, const std::list< const Token * > &tokStack, const std::string &purefuncname)CheckClassprivate
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
returnByReferenceError(const Function *func, const Variable *var)CheckClassprivate
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) overrideCheckClassinlineprivatevirtual
selfInitializationError(const Token *tok, const std::string &varname)CheckClassprivate
stl_containers_not_constCheckClassstatic
suggestInitializationList(const Token *tok, const std::string &varname)CheckClassprivate
TestClass classCheckClassfriend
TestConstructors classCheckClassfriend
TestUnusedPrivateFunction classCheckClassfriend
thisSubtraction()CheckClassprivate
thisSubtractionError(const Token *tok)CheckClassprivate
thisUseAfterFree(const Token *self, const Token *free, const Token *use)CheckClassprivate
uninitVarError(const Token *tok, bool isprivate, Function::Type functionType, const std::string &classname, const std::string &varname, bool derived, bool inconclusive)CheckClassprivate
uninitVarError(const Token *tok, const std::string &classname, const std::string &varname)CheckClassprivate
unsafeClassRefMemberError(const Token *tok, const std::string &varname)CheckClassprivate
unusedPrivateFunctionError(const Token *tok, const std::string &classname, const std::string &funcname)CheckClassprivate
uselessOverrideError(const Function *funcInBase, const Function *funcInDerived, bool isSameCode=false)CheckClassprivate
virtualDestructor()CheckClassprivate
virtualDestructorError(const Token *tok, const std::string &Base, const std::string &Derived, bool inconclusive)CheckClassprivate
virtualFunctionCallInConstructorError(const Function *scopeFunction, const std::list< const Token * > &tokStack, const std::string &funcname)CheckClassprivate
writeToErrorList(const ErrorMessage &errmsg)Checkstatic
wrongData(const Token *tok, const char *str)Checkprotected
~Check()Checkinlinevirtual