cppcheck/CommonCheck.h

28 lines
732 B
C++

//---------------------------------------------------------------------------
#ifndef CommonCheckH
#define CommonCheckH
//---------------------------------------------------------------------------
#include <string>
#include <sstream>
struct TOKEN;
std::string FileLine(const TOKEN *tok);
extern bool OnlyReportUniqueErrors;
void ReportErr(const std::string &errmsg);
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[] );
//---------------------------------------------------------------------------
#endif