[Lldb-commits] [lldb] r117503 - /lldb/trunk/source/Breakpoint/BreakpointLocation.cpp

Jim Ingham jingham at apple.com
Wed Oct 27 15:58:34 PDT 2010


Author: jingham
Date: Wed Oct 27 17:58:34 2010
New Revision: 117503

URL: http://llvm.org/viewvc/llvm-project?rev=117503&view=rev
Log:
Replace unnecessary dynamic_cast with static_cast.

Modified:
    lldb/trunk/source/Breakpoint/BreakpointLocation.cpp

Modified: lldb/trunk/source/Breakpoint/BreakpointLocation.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Breakpoint/BreakpointLocation.cpp?rev=117503&r1=117502&r2=117503&view=diff
==============================================================================
--- lldb/trunk/source/Breakpoint/BreakpointLocation.cpp (original)
+++ lldb/trunk/source/Breakpoint/BreakpointLocation.cpp Wed Oct 27 17:58:34 2010
@@ -352,7 +352,7 @@
             {
                 s->EOL();
                 s->Indent("compile unit = ");
-                dynamic_cast<FileSpec*>(sc.comp_unit)->GetFilename().Dump (s);
+                static_cast<FileSpec*>(sc.comp_unit)->GetFilename().Dump (s);
 
                 if (sc.function != NULL)
                 {





More information about the lldb-commits mailing list