From: Adrian Prantl Date: Fri, 17 May 2013 23:58:45 +0000 (+0000) Subject: Drop the const from the isa test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b509224b28bf7ddb2e4ff1d52855df5b56b44bf4;p=clang Drop the const from the isa test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index a0187186ff..a270976934 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -161,7 +161,7 @@ StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { dyn_cast(DC)){ OS << ((const NamedDecl *)OCD)->getIdentifier()->getNameStart() << '(' << OCD->getIdentifier()->getNameStart() << ')'; - } else if (isa(DC)) { + } else if (isa(DC)) { // We can extract the type of the class from the self pointer. if (ImplicitParamDecl* SelfDecl = OMD->getSelfDecl()) { QualType ClassTy =