aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-09-27 01:52:00 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-09-27 01:52:00 +0000
commit7836011482bc26dfebf15df4fd993d07b607fbcf (patch)
treed0ed95aa1d80d85d7b166102d96fc67897e6e0c4 /lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
parentda313592441db36cf4b06be97c4bcc238ee6fa9c (diff)
IvarInvalidationChecker.cpp: Remove an unused member, InterfD. [-Wunused-private-field]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
index b08a2fbcb2..97b1f7cfaa 100644
--- a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
@@ -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) {}