summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Diagnostic.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-18 23:07:20 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-18 23:07:20 +0000
commit1e21cc7d197dc287cccdbad8cd7b41f2d2b7654b (patch)
tree1f79848629ae51c3bad1dd1433bb183ed843f5b5 /clang/lib/Basic/Diagnostic.cpp
parent66f2d6ba7b1085d78581a8b378e4edbe8b74fedb (diff)
downloadbcm5719-llvm-1e21cc7d197dc287cccdbad8cd7b41f2d2b7654b.tar.gz
bcm5719-llvm-1e21cc7d197dc287cccdbad8cd7b41f2d2b7654b.zip
Re-apply my diagnostics-capture patch for CIndex, with some tweaks to
try to address the msvc failures. llvm-svn: 96624
Diffstat (limited to 'clang/lib/Basic/Diagnostic.cpp')
-rw-r--r--clang/lib/Basic/Diagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Diagnostic.cpp b/clang/lib/Basic/Diagnostic.cpp
index e92d1e56ca9..c5c9ca7484e 100644
--- a/clang/lib/Basic/Diagnostic.cpp
+++ b/clang/lib/Basic/Diagnostic.cpp
@@ -923,7 +923,7 @@ StoredDiagnostic::StoredDiagnostic() { }
StoredDiagnostic::StoredDiagnostic(Diagnostic::Level Level,
llvm::StringRef Message)
- : Level(Level), Message(Message) { }
+ : Level(Level), Loc(), Message(Message) { }
StoredDiagnostic::StoredDiagnostic(Diagnostic::Level Level,
const DiagnosticInfo &Info)
OpenPOWER on IntegriCloud