diff options
| author | Ted Kremenek <kremenek@apple.com> | 2012-02-14 02:46:03 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2012-02-14 02:46:03 +0000 |
| commit | 914c7e62e844e4bb3de62087077ca9802fc235d6 (patch) | |
| tree | 56d1f4e851d1e8130dc9e5e4b4b9b6d26c33be74 /clang/tools/libclang/CIndexDiagnostic.h | |
| parent | 0964cca5d5874162fe09d566ee03b84a17c2a212 (diff) | |
| download | bcm5719-llvm-914c7e62e844e4bb3de62087077ca9802fc235d6.tar.gz bcm5719-llvm-914c7e62e844e4bb3de62087077ca9802fc235d6.zip | |
Implement new DiagnosticsRenderer that packages notes retrieved by clang_getDiagnosticSetFromTU() as
child diagnostics of primary diagnostics. By using the DiagnosticRenderer, these Diagnostics now
match with those generated for serialized diagnostics.
llvm-svn: 150456
Diffstat (limited to 'clang/tools/libclang/CIndexDiagnostic.h')
| -rw-r--r-- | clang/tools/libclang/CIndexDiagnostic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/libclang/CIndexDiagnostic.h b/clang/tools/libclang/CIndexDiagnostic.h index 72f57f8835e..30669982370 100644 --- a/clang/tools/libclang/CIndexDiagnostic.h +++ b/clang/tools/libclang/CIndexDiagnostic.h @@ -54,7 +54,8 @@ public: class CXDiagnosticImpl { public: - enum Kind { StoredDiagnosticKind, LoadedDiagnosticKind }; + enum Kind { StoredDiagnosticKind, LoadedDiagnosticKind, + CustomNoteDiagnosticKind }; virtual ~CXDiagnosticImpl(); |

