Drop the const from the isa test.

llvm-svn: 182178
This commit is contained in:
Adrian Prantl 2013-05-17 23:58:45 +00:00
parent 97c3018aac
commit b39fc142fd
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) {
dyn_cast<const ObjCCategoryImplDecl>(DC)){
OS << ((const NamedDecl *)OCD)->getIdentifier()->getNameStart() << '(' <<
OCD->getIdentifier()->getNameStart() << ')';
} else if (isa<const ObjCProtocolDecl>(DC)) {
} else if (isa<ObjCProtocolDecl>(DC)) {
// We can extract the type of the class from the self pointer.
if (ImplicitParamDecl* SelfDecl = OMD->getSelfDecl()) {
QualType ClassTy =