| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 149798
|
|
|
|
|
|
|
|
|
|
| |
gives us comparative diagnostics
to TextDiagnosticPrinter.
This certainly can be cleaned up a bit.
llvm-svn: 146820
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
migrator:
-Allow it to be used with multiple BeginSourceFile/EndSourceFile calls; for this introduce
a "finish" callback method in the DiagnosticConsumer. SDiagsWriter finishes up the serialization
file inside this method.
-Make it independent of any particular DiagnosticsEngine; make it use the SourceManager of the
Diagnostic object.
-Ignore null source ranges.
llvm-svn: 146020
|
|
|
|
| |
llvm-svn: 144604
|
|
|
|
| |
llvm-svn: 144277
|
|
|
|
|
|
|
|
| |
via the libclang API.
I've tested it on simple cases and it works. Test cases to follow as well as a few tweaks.
llvm-svn: 144269
|
|
|
|
| |
llvm-svn: 144115
|
|
|
|
| |
llvm-svn: 143776
|
|
|
|
| |
llvm-svn: 143765
|
|
|
|
|
|
| |
diagnostics block.
llvm-svn: 143764
|
|
|
|
|
|
| |
blocks. The goal is to remove BLOCK_STRINGS so that the bitcode file can potentially be streamed.
llvm-svn: 143763
|
|
|
|
| |
llvm-svn: 143762
|
|
|
|
| |
llvm-svn: 143761
|
|
|
|
|
|
| |
number" of serialized diagnostics.
llvm-svn: 143760
|
|
|
|
|
|
| |
diagnostics.
llvm-svn: 143759
|
|
|
|
|
|
| |
errors.
llvm-svn: 143758
|
|
|
|
|
|
| |
SerializedDiagnosticPrinter.
llvm-svn: 143757
|
|
serializes out the diagnostics for a given translation unit to a bit code file. This is a WIP.
The motivation for this new DiagnosticConsumer is to provide a way for tools invoking the compiler
to get its diagnostics via a libclang interface, rather than textually parsing the compiler output.
This gives us flexibility to change the compiler's textual output, but have a structured data format
for clients to use to get the diagnostics via a stable API.
I have no tests for this, but llvm-bcanalyzer so far shows that the emitted file is well-formed.
More work to follow.
llvm-svn: 143259
|