From b509224b28bf7ddb2e4ff1d52855df5b56b44bf4 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 17 May 2013 23:58:45 +0000 Subject: [PATCH] Drop the const from the isa test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182178 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGDebugInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- 2.50.1