summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangASTSource.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-11-15 21:50:18 +0000
committerSean Callanan <scallanan@apple.com>2011-11-15 21:50:18 +0000
commit100d74e26778d29e502025773234571246d11d91 (patch)
treebdc23a83bc7e2ebc283445943560f169c6b50f17 /lldb/source/Expression/ClangASTSource.cpp
parent86b6f742171d94cc23e9773429ed9cc33dde4857 (diff)
downloadbcm5719-llvm-100d74e26778d29e502025773234571246d11d91.tar.gz
bcm5719-llvm-100d74e26778d29e502025773234571246d11d91.zip
Eliminated a compile warning by removing dyn_cast
where isa is good enough. llvm-svn: 144704
Diffstat (limited to 'lldb/source/Expression/ClangASTSource.cpp')
-rw-r--r--lldb/source/Expression/ClangASTSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp
index a2597ba81cc..bfdab164ff9 100644
--- a/lldb/source/Expression/ClangASTSource.cpp
+++ b/lldb/source/Expression/ClangASTSource.cpp
@@ -311,7 +311,7 @@ ClangASTSource::FindExternalVisibleDecls (NameSearchContext &context)
current_id);
}
}
- else if (const ObjCInterfaceDecl *interface_decl = dyn_cast<ObjCInterfaceDecl>(context.m_decl_context))
+ else if (isa<ObjCInterfaceDecl>(context.m_decl_context))
{
FindObjCPropertyDecls(context);
}
OpenPOWER on IntegriCloud