always use the report() helper

Change-Id: I2966fdb5bd98b1ddf718079584acf90a3e3a3700
This commit is contained in:
Luboš Luňák
2013-02-02 19:31:24 +01:00
parent efe9bf61ed
commit b4392c575e
5 changed files with 30 additions and 29 deletions

View File

@@ -31,6 +31,8 @@ class PluginHandler
virtual void HandleTranslationUnit( ASTContext& context );
static void registerPlugin( Plugin* (*create)( ASTContext&, Rewriter& ), const char* optionName, bool isRewriter );
private:
DiagnosticBuilder report( DiagnosticsEngine::Level level, StringRef message, SourceLocation loc = SourceLocation());
ASTContext& context;
Rewriter rewriter;
};