]> granicus.if.org Git - clang/commitdiff
IvarInvalidationChecker.cpp: Remove an unused member, InterfD. [-Wunused-private...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 27 Sep 2012 01:52:00 +0000 (01:52 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 27 Sep 2012 01:52:00 +0000 (01:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164745 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

index b08a2fbcb2f9cdbd1883475ca63eb8a897a37cae..97b1f7cfaa092973fa247518387ce112e48de5a1 100644 (file)
@@ -45,7 +45,6 @@ class IvarInvalidationChecker :
   /// 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 @@ class IvarInvalidationChecker :
     MethodCrawler(const ObjCInterfaceDecl *InID,
                   IvarSet &InIVars, MethToIvarMapTy &InPropertySetterToIvarMap,
                   PropToIvarMapTy &InPropertyToIvarMap)
-    : InterfD(InID), IVars(InIVars),
+    : IVars(InIVars),
       PropertySetterToIvarMap(InPropertySetterToIvarMap),
       PropertyToIvarMap(InPropertyToIvarMap) {}