mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 01:15:50 +08:00
Drop the const from the isa test.
llvm-svn: 182178
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user