You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
457 B

11 years ago
#ifndef DIAGNOSTIC_H_
#define DIAGNOSTIC_H_
#include <string>
namespace clang {
class Diagnostic {
public:
class LocationData {
public:
unsigned line, column, offset;
};
static const std::string get_severity_spelling(unsigned severity);
unsigned severity;
std::string severity_spelling;
std::string spelling;
std::string path;
LocationData start_location, end_location;
};
}
11 years ago
#endif // DIAGNOSTIC_H_