summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXStoredDiagnostic.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-11-10 08:43:12 +0000
committerTed Kremenek <kremenek@apple.com>2011-11-10 08:43:12 +0000
commitd010ba47294d21bc303fdfb1bca4e18ea92e366c (patch)
tree6bb99a336fb8f7b134deaa9c837233e48786ba37 /clang/tools/libclang/CXStoredDiagnostic.cpp
parent08ef466048e06328401fd06527b20315902cab19 (diff)
downloadbcm5719-llvm-d010ba47294d21bc303fdfb1bca4e18ea92e366c.tar.gz
bcm5719-llvm-d010ba47294d21bc303fdfb1bca4e18ea92e366c.zip
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. llvm-svn: 144269
Diffstat (limited to 'clang/tools/libclang/CXStoredDiagnostic.cpp')
-rw-r--r--clang/tools/libclang/CXStoredDiagnostic.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/tools/libclang/CXStoredDiagnostic.cpp b/clang/tools/libclang/CXStoredDiagnostic.cpp
index 117e5398be4..fb5d33d5847 100644
--- a/clang/tools/libclang/CXStoredDiagnostic.cpp
+++ b/clang/tools/libclang/CXStoredDiagnostic.cpp
@@ -28,9 +28,6 @@ using namespace clang;
using namespace clang::cxloc;
using namespace clang::cxstring;
-// Needed for vtable of CXPersisetntDiagnostic.
-CXDiagnosticImpl::~CXDiagnosticImpl() {}
-
CXDiagnosticSeverity CXStoredDiagnostic::getSeverity() const {
switch (Diag.getLevel()) {
case DiagnosticsEngine::Ignored: return CXDiagnostic_Ignored;
OpenPOWER on IntegriCloud