aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-11-19 17:36:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-11-19 17:36:51 +0000
commita6a32e295379570b489cc041053d2cd53bcafd1c (patch)
tree57bbf418b7d70450d1a423651a457ffa2de37d4d /lib/Basic
parent2a69ddd2d4a48620bbd001b1fa777d73511f4150 (diff)
Initialize StoredDiagnostic's members in order.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic')
-rw-r--r--lib/Basic/Diagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Diagnostic.cpp b/lib/Basic/Diagnostic.cpp
index 83ae2c5187..5098c2e4f8 100644
--- a/lib/Basic/Diagnostic.cpp
+++ b/lib/Basic/Diagnostic.cpp
@@ -549,7 +549,7 @@ StoredDiagnostic::StoredDiagnostic() { }
StoredDiagnostic::StoredDiagnostic(Diagnostic::Level Level, unsigned ID,
llvm::StringRef Message)
- : Level(Level), ID(ID), Loc(), Message(Message) { }
+ : ID(ID), Level(Level), Loc(), Message(Message) { }
StoredDiagnostic::StoredDiagnostic(Diagnostic::Level Level,
const DiagnosticInfo &Info)