diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-11-30 22:53:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-11-30 22:53:43 +0000 |
| commit | 4431a1b19b7dacd0937921f0eac8c9ff382387e0 (patch) | |
| tree | b374dce8fd1f9b888b509776d8f9e419d0d41000 /clang/Driver/TextDiagnostics.h | |
| parent | 7a9a38abe026a976a34507698735532a36f0cd44 (diff) | |
| download | bcm5719-llvm-4431a1b19b7dacd0937921f0eac8c9ff382387e0.tar.gz bcm5719-llvm-4431a1b19b7dacd0937921f0eac8c9ff382387e0.zip | |
start partitioning the diagnostics into two classes: those
that are builtin and those that are aren't. This is a bunch
of API refactoring that will make this possible, but there is
no functionality change yet.
llvm-svn: 44473
Diffstat (limited to 'clang/Driver/TextDiagnostics.h')
| -rw-r--r-- | clang/Driver/TextDiagnostics.h | 4 |
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, |

