diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-12-17 05:26:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-12-17 05:26:11 +0000 |
commit | 2a76410c0a23a6feb98d0f13e9c8bfa0638d3adf (patch) | |
tree | 5e3698f453ca0d6ea640b9f1075dad6c368fdb9e /include/clang/Frontend/SerializedDiagnosticPrinter.h | |
parent | 2898d4f7648e6ed5e9047068f1e8ee2f3c2bcd75 (diff) |
Refactor SerializeDiagnosticsPrinter to using DiagnosticRenderer. This gives us comparative diagnostics
to TextDiagnosticPrinter.
This certainly can be cleaned up a bit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/SerializedDiagnosticPrinter.h')
-rw-r--r-- | include/clang/Frontend/SerializedDiagnosticPrinter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Frontend/SerializedDiagnosticPrinter.h b/include/clang/Frontend/SerializedDiagnosticPrinter.h index c4f2322141..aa0695fe24 100644 --- a/include/clang/Frontend/SerializedDiagnosticPrinter.h +++ b/include/clang/Frontend/SerializedDiagnosticPrinter.h @@ -19,6 +19,7 @@ class raw_ostream; namespace clang { class DiagnosticConsumer; class DiagnosticsEngine; +class DiagnosticOptions; namespace serialized_diags { @@ -52,7 +53,8 @@ enum RecordIDs { /// This allows wrapper tools for Clang to get diagnostics from Clang /// (via libclang) without needing to parse Clang's command line output. /// -DiagnosticConsumer *create(llvm::raw_ostream *OS); +DiagnosticConsumer *create(llvm::raw_ostream *OS, + const DiagnosticOptions &diags); } // end serialized_diags namespace } // end clang namespace |