4 #include <utils/String8.h>
7 using namespace android;
15 SourcePos(const String8& f, int l);
16 SourcePos(const SourcePos& that);
20 void error(const char* fmt, ...) const;
21 void warning(const char* fmt, ...) const;
22 void printf(const char* fmt, ...) const;
24 bool operator<(const SourcePos& rhs) const;
26 static bool hasErrors();
27 static void printErrors(FILE* to);