diff options
-rw-r--r-- | clang/include/clang/AST/DeclObjC.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/include/clang/AST/DeclObjC.h b/clang/include/clang/AST/DeclObjC.h index 2c3c0520a6e..3947e35cbcb 100644 --- a/clang/include/clang/AST/DeclObjC.h +++ b/clang/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); } |