diff options
| author | Sean Callanan <scallanan@apple.com> | 2011-11-15 21:50:18 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2011-11-15 21:50:18 +0000 |
| commit | 100d74e26778d29e502025773234571246d11d91 (patch) | |
| tree | bdc23a83bc7e2ebc283445943560f169c6b50f17 /lldb/source/Expression/ClangASTSource.cpp | |
| parent | 86b6f742171d94cc23e9773429ed9cc33dde4857 (diff) | |
| download | bcm5719-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.cpp | 2 |
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); } |

