aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-07-30 20:31:21 +0000
committerAnna Zaks <ganna@apple.com>2012-07-30 20:31:21 +0000
commitca93ee707d9570b74d24c7d55defe18dac38bcc0 (patch)
treea0f09286a3436d28d4dc0f9806111693e2e0095f /include/clang
parente13056a8bb532ddfdc07952a13169aa422bacd3b (diff)
Mark ObjCInterfaceDecl::lookupPrivateMethod as const.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/AST/DeclObjC.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h
index 4229fd3c0d..42dd5a3a27 100644
--- a/include/clang/AST/DeclObjC.h
+++ b/include/clang/AST/DeclObjC.h
@@ -940,7 +940,8 @@ public:
ObjCInterfaceDecl *lookupInheritedClass(const IdentifierInfo *ICName);
/// \brief Lookup a method in the classes implementation hierarchy.
- ObjCMethodDecl *lookupPrivateMethod(const Selector &Sel, bool Instance=true);
+ ObjCMethodDecl *lookupPrivateMethod(const Selector &Sel,
+ bool Instance=true) const;
ObjCMethodDecl *lookupPrivateClassMethod(const Selector &Sel) {
return lookupPrivateMethod(Sel, false);