summaryrefslogtreecommitdiff
path: root/tools/aapt/SourcePos.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-03-20 18:04:57 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-03-20 18:14:48 -0700
commita01a9374fd386f3a8773528d7a49bc5315492dff (patch)
tree30857703034ba4ae65c917cac6a17c4a15c347c3 /tools/aapt/SourcePos.h
parent40436a20c666c99287379838e737cc69ee10fd10 (diff)
Reduce warning verbosity in aapt
- Attributed source of problems to the correct file. - Only verify string localizations against valid locales. Bug:13140015 Change-Id: I9dabc5efa0510649caee8af0c8ebb803d6f48269
Diffstat (limited to 'tools/aapt/SourcePos.h')
-rw-r--r--tools/aapt/SourcePos.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/aapt/SourcePos.h b/tools/aapt/SourcePos.h
index 33f72a9c1e1c..4ce817f206e5 100644
--- a/tools/aapt/SourcePos.h
+++ b/tools/aapt/SourcePos.h
@@ -17,8 +17,9 @@ public:
SourcePos();
~SourcePos();
- int error(const char* fmt, ...) const;
- int warning(const char* fmt, ...) const;
+ void error(const char* fmt, ...) const;
+ void warning(const char* fmt, ...) const;
+ void printf(const char* fmt, ...) const;
static bool hasErrors();
static void printErrors(FILE* to);