always use the report() helper
Change-Id: I2966fdb5bd98b1ddf718079584acf90a3e3a3700
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user