#ifndef DIAGNOSTIC_H_ #define DIAGNOSTIC_H_ #include 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; }; } #endif // DIAGNOSTIC_H_