Fix order of initialization warning.
authorEric Christopher <echristo@gmail.com>
Thu, 28 Mar 2013 18:22:58 +0000 (18:22 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 28 Mar 2013 18:22:58 +0000 (18:22 +0000)
llvm-svn: 178255

clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

index 274eb80..b4e45a2 100644 (file)
@@ -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; }