[Lldb-commits] [lldb] r181739 - Fix Mac OS X build issue introduced by incorrect using statements

Daniel Malea daniel.malea at intel.com
Mon May 13 14:52:06 PDT 2013


Author: dmalea
Date: Mon May 13 16:52:06 2013
New Revision: 181739

URL: http://llvm.org/viewvc/llvm-project?rev=181739&view=rev
Log:
Fix Mac OS X build issue introduced by incorrect using statements


Modified:
    lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp

Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp?rev=181739&r1=181738&r2=181739&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp Mon May 13 16:52:06 2013
@@ -9,9 +9,6 @@
 
 #include "PlatformDarwinKernel.h"
 
-using namespace lldb;
-using namespace lldb_private;
-
 #if defined (__APPLE__)  // This Plugin uses the Mac-specific source/Host/macosx/cfcpp utilities
 
 
@@ -40,6 +37,9 @@ using namespace lldb_private;
 
 #include "Host/macosx/cfcpp/CFCBundle.h"
 
+using namespace lldb;
+using namespace lldb_private;
+
 //------------------------------------------------------------------
 // Static Variables
 //------------------------------------------------------------------
@@ -666,7 +666,7 @@ PlatformDarwinKernel::GetSupportedArchit
 lldb_private::ConstString
 PlatformDarwinKernel::GetPluginNameStatic ()
 {
-    static ConstString g_name("darwin-kernel");
+    static lldb_private::ConstString g_name("darwin-kernel");
     return g_name;
 }
 





More information about the lldb-commits mailing list