cppcheck/CommonCheck.h

28 lines
732 B
C
Raw Normal View History

//---------------------------------------------------------------------------
#ifndef CommonCheckH
#define CommonCheckH
//---------------------------------------------------------------------------
#include <string>
2008-02-16 16:46:32 +01:00
#include <sstream>
struct TOKEN;
std::string FileLine(const TOKEN *tok);
2008-03-23 14:38:01 +01:00
extern bool OnlyReportUniqueErrors;
2008-03-22 18:09:08 +01:00
void ReportErr(const std::string &errmsg);
2008-02-16 16:46:32 +01:00
extern std::ostringstream errout;
bool IsName(const char str[]);
bool IsNumber(const char str[]);
bool IsStandardType(const char str[]);
const TOKEN *FindFunction( const TOKEN *tok, const char funcname[] );
2008-03-23 17:18:31 +01:00
//---------------------------------------------------------------------------
#endif