2007-05-25 08:51:18 +02:00
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
#ifndef CheckOtherH
|
|
|
|
#define CheckOtherH
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
// Casting
|
|
|
|
void WarningOldStylePointerCast();
|
|
|
|
|
|
|
|
// Use standard functions instead
|
|
|
|
void WarningIsDigit();
|
|
|
|
|
2007-06-05 06:51:01 +02:00
|
|
|
// Use standard functions instead
|
|
|
|
void WarningIsAlpha();
|
|
|
|
|
2007-05-25 08:51:18 +02:00
|
|
|
// Redundant code
|
|
|
|
void WarningRedundantCode();
|
|
|
|
|
|
|
|
// Warning upon: if (condition);
|
|
|
|
void WarningIf();
|
|
|
|
|
2007-07-24 08:23:28 +02:00
|
|
|
// Assignment in condition
|
|
|
|
void CheckIfAssignment();
|
|
|
|
|
2007-05-25 08:51:18 +02:00
|
|
|
// Using dangerous functions
|
|
|
|
void WarningDangerousFunctions();
|
|
|
|
|
2007-06-05 20:58:27 +02:00
|
|
|
// Invalid function usage..
|
|
|
|
void InvalidFunctionUsage();
|
2007-05-25 08:51:18 +02:00
|
|
|
|
2007-06-05 22:29:03 +02:00
|
|
|
// Dangerous usage of 'strtok'
|
|
|
|
void WarningStrTok();
|
|
|
|
|
2007-07-24 08:23:28 +02:00
|
|
|
// Check for a 'case' without a 'break'
|
|
|
|
void CheckCaseWithoutBreak();
|
|
|
|
|
2008-02-20 19:20:59 +01:00
|
|
|
// Check for unsigned division that might create bad results
|
|
|
|
void CheckUnsignedDivision();
|
|
|
|
|
2007-05-25 08:51:18 +02:00
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
#endif
|
|
|
|
|