[cfe-commits] r119808 - /cfe/trunk/lib/Basic/Diagnostic.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Nov 19 09:36:51 PST 2010
Author: d0k
Date: Fri Nov 19 11:36:51 2010
New Revision: 119808
URL: http://llvm.org/viewvc/llvm-project?rev=119808&view=rev
Log:
Initialize StoredDiagnostic's members in order.
Modified:
cfe/trunk/lib/Basic/Diagnostic.cpp
Modified: cfe/trunk/lib/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Diagnostic.cpp?rev=119808&r1=119807&r2=119808&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/lib/Basic/Diagnostic.cpp Fri Nov 19 11:36:51 2010
@@ -549,7 +549,7 @@
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)
More information about the cfe-commits
mailing list