From 829d0a80e3f7aa3e5b9000ebb09294e30b226af0 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 21 Feb 2014 19:41:37 +0000 Subject: [PATCH] Remove 'followsSuper' argument from lookupPropertyAccessor. Turns out I didn't need it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201879 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclObjC.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 2c3c0520a6..3947e35cbc 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -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); } -- 2.50.1