r182178 - Drop the const from the isa test.

Adrian Prantl aprantl at apple.com
Fri May 17 16:58:45 PDT 2013


Author: adrian
Date: Fri May 17 18:58:45 2013
New Revision: 182178

URL: http://llvm.org/viewvc/llvm-project?rev=182178&view=rev
Log:
Drop the const from the isa test.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=182178&r1=182177&r2=182178&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri May 17 18:58:45 2013
@@ -161,7 +161,7 @@ StringRef CGDebugInfo::getObjCMethodName
              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 =





More information about the cfe-commits mailing list