On Wed, Sep 26, 2012 at 6:52 PM, NAKAMURA Takumi <[email protected]> wrote:
> 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),

Perhaps we could remove the unused parameter now, too?

- David

>        PropertySetterToIvarMap(InPropertySetterToIvarMap),
>        PropertyToIvarMap(InPropertyToIvarMap) {}
>
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to