cppcheck/CheckOther.h

50 lines
1.1 KiB
C
Raw Normal View History

//---------------------------------------------------------------------------
#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();
// Redundant code
void WarningRedundantCode();
// Warning upon: if (condition);
void WarningIf();
// Assignment in condition
void CheckIfAssignment();
// Using dangerous functions
void WarningDangerousFunctions();
// Invalid function usage..
void InvalidFunctionUsage();
// Check for unsigned division that might create bad results
void CheckUnsignedDivision();
// Check scope of variables
void CheckVariableScope();
// Check for constant function parameter
void CheckConstantFunctionParameter();
// Check that all struct members are used
void CheckStructMemberUsage();
2008-08-28 08:36:30 +02:00
// Using char variable as array index / as operand in bit operation
void CheckCharVariable();
//---------------------------------------------------------------------------
#endif