Author: echristo
Date: Thu Mar 28 13:22:58 2013
New Revision: 178255

URL: http://llvm.org/viewvc/llvm-project?rev=178255&view=rev
Log:
Fix order of initialization warning.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp?rev=178255&r1=178254&r2=178255&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/MallocChecker.cpp Thu Mar 28 13:22:58 
2013
@@ -58,7 +58,7 @@ class RefState {
                         // family.
 
   RefState(Kind k, const Stmt *s, unsigned family) 
-    : K(k), S(s), Family(family) {}
+    : S(s), K(k), Family(family) {}
 public:
   bool isAllocated() const { return K == Allocated; }
   bool isReleased() const { return K == Released; }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to