[cfe-commits] r164745 - /cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

NAKAMURA Takumi geek4civic at gmail.com
Wed Sep 26 18:52:01 PDT 2012


Author: chapuni
Date: Wed Sep 26 20:52:00 2012
New Revision: 164745

URL: http://llvm.org/viewvc/llvm-project?rev=164745&view=rev
Log:
IvarInvalidationChecker.cpp: Remove an unused member, InterfD. [-Wunused-private-field]

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

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp?rev=164745&r1=164744&r2=164745&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp Wed Sep 26 20:52:00 2012
@@ -45,7 +45,6 @@
   /// Statement visitor, which walks the method body and flags the ivars
   /// referenced in it (either directly or via property).
   class MethodCrawler : public ConstStmtVisitor<MethodCrawler> {
-    const ObjCInterfaceDecl *InterfD;
 
     /// The set of Ivars which need to be invalidated.
     IvarSet &IVars;
@@ -60,7 +59,7 @@
     MethodCrawler(const ObjCInterfaceDecl *InID,
                   IvarSet &InIVars, MethToIvarMapTy &InPropertySetterToIvarMap,
                   PropToIvarMapTy &InPropertyToIvarMap)
-    : InterfD(InID), IVars(InIVars),
+    : IVars(InIVars),
       PropertySetterToIvarMap(InPropertySetterToIvarMap),
       PropertyToIvarMap(InPropertyToIvarMap) {}
 





More information about the cfe-commits mailing list