diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-19 17:36:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-19 17:36:51 +0000 |
commit | a6a32e295379570b489cc041053d2cd53bcafd1c (patch) | |
tree | 57bbf418b7d70450d1a423651a457ffa2de37d4d /lib/Basic | |
parent | 2a69ddd2d4a48620bbd001b1fa777d73511f4150 (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.cpp | 2 |
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) |