Cppcheck
|
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) override | CheckClass | privatevirtual |
assignAllVar(std::vector< Usage > &usageList) | CheckClass | privatestatic |
assignAllVarsVisibleFromScope(std::vector< Usage > &usageList, const Scope *scope) | CheckClass | privatestatic |
assignVar(std::vector< Usage > &usageList, nonneg int varid) | CheckClass | privatestatic |
assignVar(std::vector< Usage > &usageList, const Token *vartok) | CheckClass | privatestatic |
Bool enum name | CheckClass | private |
canNotCopy(const Scope *scope) | CheckClass | privatestatic |
canNotMove(const Scope *scope) | CheckClass | privatestatic |
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 | |
CheckClass() | CheckClass | inline |
CheckClass(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) | CheckClass | private |
checkConst() | CheckClass | private |
checkConstError(const Token *tok, const std::string &classname, const std::string &funcname, bool suggestStatic) | CheckClass | private |
checkConstError2(const Token *tok1, const Token *tok2, const std::string &classname, const std::string &funcname, bool suggestStatic) | CheckClass | private |
checkConstFunc(const Scope *scope, const Function *func, MemberAccess &memberAccessed) const | CheckClass | private |
checkCopyCtorAndEqOperator() | CheckClass | private |
checkDuplInheritedMembers() | CheckClass | private |
checkDuplInheritedMembersRecursive(const Type *typeCurrent, const Type *typeBase) | CheckClass | private |
checkExplicitConstructors() | CheckClass | private |
checkMemset() | CheckClass | private |
checkMemsetType(const Scope *start, const Token *tok, const Scope *type, bool allocation, std::set< const Scope * > parsedTypes) | CheckClass | private |
checkOverride() | CheckClass | private |
checkReturnByReference() | CheckClass | private |
checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last) | CheckClass | private |
checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last, std::set< const Function * > &analyzedFunctions) | CheckClass | private |
checkSelfInitialization() | CheckClass | private |
checkThisUseAfterFree() | CheckClass | private |
checkThisUseAfterFreeRecursive(const Scope *classScope, const Function *func, const Variable *selfPointer, std::set< const Function * > callstack, const Token *&freeToken) | CheckClass | private |
checkUnsafeClassRefMember() | CheckClass | private |
checkUselessOverride() | CheckClass | private |
checkVirtualFunctionCallInConstructor() | CheckClass | private |
classInfo() const override | CheckClass | inlineprivatevirtual |
clearAllVar(std::vector< Usage > &usageList) | CheckClass | privatestatic |
constructors() | CheckClass | private |
copyconstructors() | CheckClass | private |
copyConstructorShallowCopyError(const Token *tok, const std::string &varname) | CheckClass | private |
copyCtorAndEqOperatorError(const Token *tok, const std::string &classname, bool isStruct, bool hasCopyCtor) | CheckClass | private |
createUsageList(const Scope *scope) | CheckClass | privatestatic |
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) | CheckClass | private |
getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override | CheckClass | inlineprivatevirtual |
getErrorPath(const Token *errtok, const ValueFlow::Value *value, std::string bug) const | Check | protected |
getFileInfo(const Tokenizer &tokenizer, const Settings &settings) const override | CheckClass | privatevirtual |
getFirstVirtualFunctionCallStack(std::map< const Function *, std::list< const Token * >> &virtualFunctionCallsMap, const Token *callToken, std::list< const Token * > &pureFuncStack) | CheckClass | privatestatic |
getIfStmtBodyStart(const Token *tok, const Token *rhs) | CheckClass | privatestatic |
getMessageId(const ValueFlow::Value &value, const char id[]) | Check | protectedstatic |
getVirtualFunctionCalls(const Function &function, std::map< const Function *, std::list< const Token * >> &virtualFunctionCallsMap) | CheckClass | private |
hasAllocation(const Function *func, const Scope *scope) const | CheckClass | private |
hasAllocation(const Function *func, const Scope *scope, const Token *start, const Token *end) const | CheckClass | private |
hasAllocationInIfScope(const Function *func, const Scope *scope, const Token *ifStatementScopeStart) const | CheckClass | private |
hasAssignSelf(const Function *func, const Token *rhs, const Token *&out_ifStatementScopeStart) | CheckClass | privatestatic |
initializationListUsage() | CheckClass | private |
initializerListError(const Token *tok1, const Token *tok2, const std::string &classname, const std::string &varname, const std::string &argname={}) | CheckClass | private |
initializerListOrder() | CheckClass | private |
initializeVarList(const Function &func, std::list< const Function * > &callstack, const Scope *scope, std::vector< Usage > &usage) const | CheckClass | private |
initVar(std::vector< Usage > &usageList, nonneg int varid) | CheckClass | privatestatic |
instances() | Check | static |
isBaseClassMutableMemberFunc(const Token *tok, const Scope *scope) | CheckClass | privatestatic |
isConstMemberFunc(const Scope *scope, const Token *tok) | CheckClass | privatestatic |
isInverted(const Token *tok, const Token *rhs) | CheckClass | privatestatic |
isMemberFunc(const Scope *scope, const Token *tok) | CheckClass | privatestatic |
isMemberVar(const Scope *scope, const Token *tok) const | CheckClass | private |
loadFileInfoFromXml(const tinyxml2::XMLElement *xmlElement) const override | CheckClass | privatevirtual |
logChecker(const char id[]) | Check | protected |
mallocOnClassError(const Token *tok, const std::string &memfunc, const Token *classTok, const std::string &classname) | CheckClass | private |
mallocOnClassWarning(const Token *tok, const std::string &memfunc, const Token *classTok) | CheckClass | private |
MemberAccess enum name | CheckClass | private |
memsetError(const Token *tok, const std::string &memfunc, const std::string &classname, const std::string &type, bool isContainer=false) | CheckClass | private |
memsetErrorFloat(const Token *tok, const std::string &type) | CheckClass | private |
memsetErrorReference(const Token *tok, const std::string &memfunc, const std::string &type) | CheckClass | private |
mErrorLogger | Check | protected |
missingMemberCopyError(const Token *tok, Function::Type functionType, const std::string &classname, const std::string &varname) | CheckClass | private |
mName | Check | private |
mSettings | Check | protected |
mSymbolDatabase | CheckClass | private |
mTokenizer | Check | protected |
myName() | CheckClass | inlineprivatestatic |
name() const | Check | inline |
noConstructorError(const Token *tok, const std::string &classname, bool isStruct) | CheckClass | private |
noCopyConstructorError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive) | CheckClass | private |
noDestructorError(const Scope *scope, bool isdefault, const Token *alloc) | CheckClass | private |
noExplicitConstructorError(const Token *tok, const std::string &classname, bool isStruct) | CheckClass | private |
noOperatorEqError(const Scope *scope, bool isdefault, const Token *alloc, bool inconclusive) | CheckClass | private |
operator=(const Check &)=delete | Check | |
operatorEqMissingReturnStatementError(const Token *tok, bool error) | CheckClass | private |
operatorEqRetRefThis() | CheckClass | private |
operatorEqRetRefThisError(const Token *tok) | CheckClass | private |
operatorEqShouldBeLeftUnimplementedError(const Token *tok) | CheckClass | private |
operatorEqToSelf() | CheckClass | private |
operatorEqToSelfError(const Token *tok) | CheckClass | private |
operatorEqVarError(const Token *tok, const std::string &classname, const std::string &varname, bool inconclusive) | CheckClass | private |
overrideError(const Function *funcInBase, const Function *funcInDerived) | CheckClass | private |
privateFunctions() | CheckClass | private |
pureVirtualFunctionCallInConstructorError(const Function *scopeFunction, const std::list< const Token * > &tokStack, const std::string &purefuncname) | CheckClass | 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 |
returnByReferenceError(const Function *func, const Variable *var) | CheckClass | private |
runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) override | CheckClass | inlineprivatevirtual |
selfInitializationError(const Token *tok, const std::string &varname) | CheckClass | private |
stl_containers_not_const | CheckClass | static |
suggestInitializationList(const Token *tok, const std::string &varname) | CheckClass | private |
TestClass class | CheckClass | friend |
TestConstructors class | CheckClass | friend |
TestUnusedPrivateFunction class | CheckClass | friend |
thisSubtraction() | CheckClass | private |
thisSubtractionError(const Token *tok) | CheckClass | private |
thisUseAfterFree(const Token *self, const Token *free, const Token *use) | CheckClass | private |
uninitVarError(const Token *tok, bool isprivate, Function::Type functionType, const std::string &classname, const std::string &varname, bool derived, bool inconclusive) | CheckClass | private |
uninitVarError(const Token *tok, const std::string &classname, const std::string &varname) | CheckClass | private |
unsafeClassRefMemberError(const Token *tok, const std::string &varname) | CheckClass | private |
unusedPrivateFunctionError(const Token *tok, const std::string &classname, const std::string &funcname) | CheckClass | private |
uselessOverrideError(const Function *funcInBase, const Function *funcInDerived, bool isSameCode=false) | CheckClass | private |
virtualDestructor() | CheckClass | private |
virtualDestructorError(const Token *tok, const std::string &Base, const std::string &Derived, bool inconclusive) | CheckClass | private |
virtualFunctionCallInConstructorError(const Function *scopeFunction, const std::list< const Token * > &tokStack, const std::string &funcname) | CheckClass | private |
writeToErrorList(const ErrorMessage &errmsg) | Check | static |
wrongData(const Token *tok, const char *str) | Check | protected |
~Check() | Check | inlinevirtual |