r201879 - Remove 'followsSuper' argument from lookupPropertyAccessor. Turns out I didn't need it.

Ted Kremenek kremenek at apple.com
Fri Feb 21 11:41:37 PST 2014


Author: kremenek
Date: Fri Feb 21 13:41:37 2014
New Revision: 201879

URL: http://llvm.org/viewvc/llvm-project?rev=201879&view=rev
Log:
Remove 'followsSuper' argument from lookupPropertyAccessor.  Turns out I didn't need it.

Modified:
    cfe/trunk/include/clang/AST/DeclObjC.h

Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=201879&r1=201878&r2=201879&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Fri Feb 21 13:41:37 2014
@@ -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);
   }
                           





More information about the cfe-commits mailing list