]> granicus.if.org Git - clang/commitdiff
Drop the const from the isa test.
authorAdrian Prantl <aprantl@apple.com>
Fri, 17 May 2013 23:58:45 +0000 (23:58 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 17 May 2013 23:58:45 +0000 (23:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182178 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index a0187186ff84883c7a7a2840582d6de84859b8bf..a270976934f3d9c2c8856a957ad8f8de2d2d7ec7 100644 (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 =