Merge remote branch 'remotes/kimmo/master'
This commit is contained in:
commit
c8d866b906
|
@ -16,10 +16,10 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// THIS FILE IS GENERATED BY MACHINE, SEE ../tools/errmsg.cpp !
|
|
||||||
|
|
||||||
#ifndef errorloggerH
|
#ifndef errorloggerH
|
||||||
#define errorloggerH
|
#define errorloggerH
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
@ -153,189 +153,6 @@ public:
|
||||||
*/
|
*/
|
||||||
virtual void reportStatus(unsigned int index, unsigned int max) = 0;
|
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<ErrorLogger::ErrorMessage::FileLocation> &callStack);
|
static std::string callStackToString(const std::list<ErrorLogger::ErrorMessage::FileLocation> &callStack);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue