diff --git a/lib/errorlogger.h b/lib/errorlogger.h index 385e96b8d..9487a198a 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -16,10 +16,10 @@ * along with this program. If not, see . */ -// THIS FILE IS GENERATED BY MACHINE, SEE ../tools/errmsg.cpp ! #ifndef errorloggerH #define errorloggerH + #include #include #include "settings.h" @@ -153,189 +153,6 @@ public: */ virtual void reportStatus(unsigned int index, unsigned int max) = 0; - static bool outOfBounds() - { - return true; - } - - static bool stlOutOfBounds() - { - return true; - } - - static bool noConstructor(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool uninitVar(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool unusedPrivateFunction(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool memsetClass() - { - return true; - } - - static bool memsetStruct() - { - return true; - } - - static bool operatorEq(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool virtualDestructor() - { - return true; - } - - static bool mismatchAllocDealloc() - { - return true; - } - - static bool memleak() - { - return true; - } - - static bool resourceLeak() - { - return true; - } - - static bool deallocDealloc() - { - return true; - } - - static bool deallocuse() - { - return true; - } - - static bool mismatchSize() - { - return true; - } - - static bool cstyleCast(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool redundantIfDelete0(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool redundantIfRemove(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool dangerousUsageStrtol() - { - return true; - } - - static bool ifNoAction(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool sprintfOverlappingData() - { - return true; - } - - - static bool udivError() - { - return true; - } - - - static bool unusedStructMember(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool passedByValue(const Settings &s) - { - return s._checkCodingStyle; - } - - static bool constStatement(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool charArrayIndex(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool charBitOp(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool variableScope() - { - return false; - } - - static bool conditionAlwaysTrueFalse(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool strPlusChar() - { - return true; - } - - - static bool returnLocalVariable() - { - return true; - } - - - static bool dangerousFunctionmktemp(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool dangerousFunctiongets(const Settings &s) - { - return s._checkCodingStyle; - } - - - static bool dangerousFunctionscanf(const Settings &s) - { - return s._checkCodingStyle; - } - - static std::string callStackToString(const std::list &callStack); };