commit | 03852c8717b45ece934f7740a100de526a734641 | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Thu Mar 28 18:22:58 2013 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Thu Mar 28 18:22:58 2013 +0000 |
tree | 673087801a769914c613d5cbf996265511e292d2 | |
parent | 849c7bf718ed3c08bd66b93f0bd508a44bb2f669 [diff] [blame] |
Fix order of initialization warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178255 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 274eb80..b4e45a2 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -58,7 +58,7 @@ // 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; }