]> granicus.if.org Git - clang/commitdiff
Remove 'followsSuper' argument from lookupPropertyAccessor. Turns out I didn't need it.
authorTed Kremenek <kremenek@apple.com>
Fri, 21 Feb 2014 19:41:37 +0000 (19:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 21 Feb 2014 19:41:37 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201879 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h

index 2c3c0520a6ef69a52b00373ac52023c712aee56d..3947e35cbcb15aee1d1bc3cbd94f0ecef6a03cfd 100644 (file)
@@ -1228,11 +1228,10 @@ public:
   /// including in all categories except for category passed
   /// as argument.
   ObjCMethodDecl *lookupPropertyAccessor(const Selector Sel,
-                                         const ObjCCategoryDecl *Cat,
-                                         bool followsSuper = true) const {
+                                         const ObjCCategoryDecl *Cat) const {
     return lookupMethod(Sel, true/*isInstance*/,
                         false/*shallowCategoryLookup*/,
-                        followsSuper /* followsSuper */,
+                        true /* followsSuper */,
                         Cat);
   }