summaryrefslogtreecommitdiffstats
path: root/clang/Driver/TextDiagnostics.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver/TextDiagnostics.h')
-rw-r--r--clang/Driver/TextDiagnostics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Driver/TextDiagnostics.h b/clang/Driver/TextDiagnostics.h
index 2ab0066d034..27d9d3a8e42 100644
--- a/clang/Driver/TextDiagnostics.h
+++ b/clang/Driver/TextDiagnostics.h
@@ -26,7 +26,7 @@ class TextDiagnostics : public DiagnosticClient {
protected:
SourceManager &SourceMgr;
- std::string FormatDiagnostic(Diagnostic::Level Level,
+ std::string FormatDiagnostic(Diagnostic &Diags, Diagnostic::Level Level,
diag::kind ID,
const std::string *Strs,
unsigned NumStrs);
@@ -38,7 +38,7 @@ public:
virtual bool IgnoreDiagnostic(Diagnostic::Level Level,
SourceLocation Pos);
- virtual void HandleDiagnostic(Diagnostic::Level DiagLevel,
+ virtual void HandleDiagnostic(Diagnostic &Diags, Diagnostic::Level DiagLevel,
SourceLocation Pos,
diag::kind ID, const std::string *Strs,
unsigned NumStrs,
OpenPOWER on IntegriCloud