diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-02-18 23:07:20 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-02-18 23:07:20 +0000 |
commit | 0a812cf707da15dadd19fdeb0178b9707f4e01a6 (patch) | |
tree | cd14c995751ba3b257fc17194175b2ac8e767601 /lib/Basic/Diagnostic.cpp | |
parent | 9e0493576af77dba1c48858c03e31a2897d0681e (diff) |
Re-apply my diagnostics-capture patch for CIndex, with some tweaks to
try to address the msvc failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Diagnostic.cpp')
-rw-r--r-- | lib/Basic/Diagnostic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Diagnostic.cpp b/lib/Basic/Diagnostic.cpp index e92d1e56ca..c5c9ca7484 100644 --- a/lib/Basic/Diagnostic.cpp +++ b/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) |