diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-29 22:18:43 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-29 22:18:43 +0000 |
commit | 2a9177c3de3662db935233951da26264ebf23cd7 (patch) | |
tree | 8199305b55ee4847e1e22eaf6504af3c4f0061df /lldb/source/Commands/CommandObjectImage.cpp | |
parent | 0eccfc2693d6f258c812468e5e0d69d897078556 (diff) | |
download | bcm5719-llvm-2a9177c3de3662db935233951da26264ebf23cd7.tar.gz bcm5719-llvm-2a9177c3de3662db935233951da26264ebf23cd7.zip |
These two casts are up casts, no need to use dynamic_cast.
llvm-svn: 117725
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectImage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp index 53db6dfbeb4..6a1037ae346 100644 --- a/lldb/source/Commands/CommandObjectImage.cpp +++ b/lldb/source/Commands/CommandObjectImage.cpp @@ -82,7 +82,7 @@ DumpCompileUnitLineTable if (i > 0) strm << "\n\n"; - strm << "Line table for " << *dynamic_cast<FileSpec*> (sc.comp_unit) << " in `" + strm << "Line table for " << *static_cast<FileSpec*> (sc.comp_unit) << " in `" << module->GetFileSpec().GetFilename() << "\n"; LineTable *line_table = sc.comp_unit->GetLineTable(); if (line_table) |