r178255 - Fix order of initialization warning.
Eric Christopher
echristo at gmail.com
Thu Mar 28 11:22:58 PDT 2013
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; }
More information about the cfe-commits
mailing list