summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commit7044adcaa4aa5b165ac56e70b5fafff6694184ff (patch)
treea926f5afd23c6b3cf1a5d5d3bf99735b9d684c1d /clang/lib
parente49190984c060d288d862a3c340a7fb656fdc5f7 (diff)
downloadbcm5719-llvm-7044adcaa4aa5b165ac56e70b5fafff6694184ff.tar.gz
bcm5719-llvm-7044adcaa4aa5b165ac56e70b5fafff6694184ff.zip
Mark ObjCInterfaceDecl::lookupPrivateMethod as const.
llvm-svn: 160989
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/DeclObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index cbd15240b17..4d48ad8e4f5 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud