summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-06 04:11:27 +0000
committerChris Lattner <sabre@nondot.org>2008-04-06 04:11:27 +0000
commit157dd0811ef25e265c4110275793753f0e9783f9 (patch)
tree6fe7a62b9ee77d9886ae5fc26ae2c7c4074d6bfc /clang/lib/AST/DeclObjC.cpp
parentc4f02b6bed0ee68438accd135e51961148d3993a (diff)
downloadbcm5719-llvm-157dd0811ef25e265c4110275793753f0e9783f9.tar.gz
bcm5719-llvm-157dd0811ef25e265c4110275793753f0e9783f9.zip
fix a number of const qualification bugs.
llvm-svn: 49257
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
-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 a01c3042d31..5671dbe9b94 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -418,7 +418,7 @@ unsigned ObjCMethodDecl::getSynthesizedMethodSize() const {
return length;
}
-ObjCInterfaceDecl *const ObjCMethodDecl::getClassInterface() const {
+const ObjCInterfaceDecl *ObjCMethodDecl::getClassInterface() const {
if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(MethodContext))
return ID;
if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(MethodContext))
OpenPOWER on IntegriCloud