[Lldb-commits] [lldb] r209737 - Fix whitespace / formatting

Ed Maste emaste at freebsd.org
Wed May 28 07:05:43 PDT 2014


Author: emaste
Date: Wed May 28 09:05:43 2014
New Revision: 209737

URL: http://llvm.org/viewvc/llvm-project?rev=209737&view=rev
Log:
Fix whitespace / formatting


Modified:
    lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
    lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h

Modified: lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp?rev=209737&r1=209736&r2=209737&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp Wed May 28 09:05:43 2014
@@ -1,4 +1,4 @@
-//===-- PlatformFreeBSD.cpp ---------------------------------------*- C++ -*-===//
+//===-- PlatformFreeBSD.cpp -------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -47,7 +47,7 @@ PlatformFreeBSD::CreateInstance (bool fo
             case llvm::Triple::PC:
                 create = true;
                 break;
-                
+
 #if defined(__FreeBSD__) || defined(__OpenBSD__)
             // Only accept "unknown" for the vendor if the host is BSD and
             // it "unknown" wasn't specified (it was just returned becasue it
@@ -59,7 +59,7 @@ PlatformFreeBSD::CreateInstance (bool fo
             default:
                 break;
         }
-        
+
         if (create)
         {
             switch (triple.getOS())
@@ -67,7 +67,7 @@ PlatformFreeBSD::CreateInstance (bool fo
                 case llvm::Triple::FreeBSD:
                 case llvm::Triple::KFreeBSD:
                     break;
-                    
+
 #if defined(__FreeBSD__) || defined(__OpenBSD__)
                 // Only accept "unknown" for the OS if the host is BSD and
                 // it "unknown" wasn't specified (it was just returned becasue it
@@ -186,10 +186,10 @@ PlatformFreeBSD::ResolveExecutable (cons
 {
     Error error;
     // Nothing special to do here, just use the actual file and architecture
-    
+
     char exe_path[PATH_MAX];
     FileSpec resolved_exe_file (exe_file);
-    
+
     if (IsHost())
     {
         // If we have "ls" as the exe_file, resolve the executable location based on
@@ -199,10 +199,10 @@ PlatformFreeBSD::ResolveExecutable (cons
             exe_file.GetPath(exe_path, sizeof(exe_path));
             resolved_exe_file.SetFile(exe_path, true);
         }
-        
+
         if (!resolved_exe_file.Exists())
             resolved_exe_file.ResolveExecutableLocation ();
-        
+
         if (resolved_exe_file.Exists())
             error.Clear();
         else
@@ -223,10 +223,10 @@ PlatformFreeBSD::ResolveExecutable (cons
         else
         {
             // We may connect to a process and use the provided executable (Don't use local $PATH).
-            
+
             // Resolve any executable within a bundle on MacOSX
             Host::ResolveExecutableInBundle (resolved_exe_file);
-            
+
             if (resolved_exe_file.Exists()) {
                 error.Clear();
             }
@@ -248,7 +248,7 @@ PlatformFreeBSD::ResolveExecutable (cons
                                                  module_search_paths_ptr,
                                                  NULL,
                                                  NULL);
-            
+
             if (!exe_module_sp || exe_module_sp->GetObjectFile() == NULL)
             {
                 exe_module_sp.reset();
@@ -279,12 +279,12 @@ PlatformFreeBSD::ResolveExecutable (cons
                     else
                         error.SetErrorToGenericError();
                 }
-                
+
                 if (idx > 0)
                     arch_names.PutCString (", ");
                 arch_names.PutCString (platform_arch.GetArchitectureName());
             }
-            
+
             if (error.Fail() || !exe_module_sp)
             {
                 error.SetErrorStringWithFormat ("'%s' doesn't contain any '%s' platform architectures: %s",
@@ -449,7 +449,7 @@ PlatformFreeBSD::GetProcessInfo (lldb::p
     {
         success = Platform::GetProcessInfo (pid, process_info);
     }
-    else if (m_remote_platform_sp) 
+    else if (m_remote_platform_sp)
     {
         success = m_remote_platform_sp->GetProcessInfo (pid, process_info);
     }

Modified: lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h?rev=209737&r1=209736&r2=209737&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h (original)
+++ lldb/trunk/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h Wed May 28 09:05:43 2014
@@ -1,4 +1,4 @@
-//===-- PlatformFreeBSD.h -----------------------------------------*- C++ -*-===//
+//===-- PlatformFreeBSD.h ---------------------------------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //





More information about the lldb-commits mailing list