serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API.
I've tested it on simple cases and it works. Test cases to follow as well as a few tweaks.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144269 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/libclang.exports b/tools/libclang/libclang.exports
index e224f3b..a82bd99 100644
--- a/tools/libclang/libclang.exports
+++ b/tools/libclang/libclang.exports
@@ -32,6 +32,7 @@
clang_disposeCXTUResourceUsage
clang_disposeCodeCompleteResults
clang_disposeDiagnostic
+clang_disposeDiagnosticSet
clang_disposeIndex
clang_disposeOverriddenCursors
clang_disposeString
@@ -53,6 +54,7 @@
clang_getCXXAccessSpecifier
clang_getCanonicalCursor
clang_getCanonicalType
+clang_getChildDiagnostics
clang_getClangVersion
clang_getCompletionAnnotation
clang_getCompletionAvailability
@@ -86,6 +88,7 @@
clang_getDiagnosticCategory
clang_getDiagnosticCategoryName
clang_getDiagnosticFixIt
+clang_getDiagnosticInSet
clang_getDiagnosticLocation
clang_getDiagnosticNumFixIts
clang_getDiagnosticNumRanges
@@ -108,6 +111,7 @@
clang_getNullRange
clang_getNumCompletionChunks
clang_getNumDiagnostics
+clang_getNumDiagnosticsInSet
clang_getNumOverloadedDecls
clang_getOverloadedDecl
clang_getOverriddenCursors
@@ -150,6 +154,7 @@
clang_isUnexposed
clang_isVirtualBase
clang_isVolatileQualifiedType
+clang_loadDiagnostics
clang_parseTranslationUnit
clang_remap_dispose
clang_remap_getFilenames