diff options
author | Anna Zaks <ganna@apple.com> | 2012-07-30 20:31:21 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-07-30 20:31:21 +0000 |
commit | ca93ee707d9570b74d24c7d55defe18dac38bcc0 (patch) | |
tree | a0f09286a3436d28d4dc0f9806111693e2e0095f /lib/AST | |
parent | e13056a8bb532ddfdc07952a13169aa422bacd3b (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 'lib/AST')
-rw-r--r-- | lib/AST/DeclObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclObjC.cpp b/lib/AST/DeclObjC.cpp index cbd15240b1..4d48ad8e4f 100644 --- a/lib/AST/DeclObjC.cpp +++ b/lib/AST/DeclObjC.cpp @@ -368,7 +368,7 @@ ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, // Returns 0 if no method is found. ObjCMethodDecl *ObjCInterfaceDecl::lookupPrivateMethod( const Selector &Sel, - bool Instance) { + bool Instance) const { // FIXME: Should make sure no callers ever do this. if (!hasDefinition()) return 0; |