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 | 7473b1c6e7ba2654d4a0d469198f0e01b485b51a (patch) | |
tree | dd0142b48cacb81c2d52e0e377aa73161aad429b /tools/libclang/CIndexDiagnostic.h | |
parent | 8be51eab5ad34515d2a40dcdc8558128ca1800ad (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/CIndexDiagnostic.h')
-rw-r--r-- | tools/libclang/CIndexDiagnostic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libclang/CIndexDiagnostic.h b/tools/libclang/CIndexDiagnostic.h index 72f57f8835..3066998237 100644 --- a/tools/libclang/CIndexDiagnostic.h +++ b/tools/libclang/CIndexDiagnostic.h @@ -54,7 +54,8 @@ public: class CXDiagnosticImpl { public: - enum Kind { StoredDiagnosticKind, LoadedDiagnosticKind }; + enum Kind { StoredDiagnosticKind, LoadedDiagnosticKind, + CustomNoteDiagnosticKind }; virtual ~CXDiagnosticImpl(); |