Cleanup whitespace.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 13 Dec 2011 23:16:15 +0000 (23:16 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 13 Dec 2011 23:16:15 +0000 (23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146521 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Path.cpp
lib/Support/PathV2.cpp

index a4d49dc494096bc6db8fc38f63b222e9a7df120f..9d8decc28cd30dd3c8b6520b1a58424d42581c4a 100644 (file)
@@ -90,7 +90,7 @@ sys::IdentifyFileType(const char *magic, unsigned length) {
     case 0xCF: {
       uint16_t type = 0;
       if (magic[0] == char(0xFE) && magic[1] == char(0xED) &&
-          magic[2] == char(0xFA) && 
+          magic[2] == char(0xFA) &&
           (magic[3] == char(0xCE) || magic[3] == char(0xCF))) {
         /* Native endian */
         if (length >= 16) type = magic[14] << 8 | magic[15];
index 0c145ab4f1c521f14535aaf2f776580d30ecd2d1..9cf16dab38e7262a82939ef538049c463a582ace 100644 (file)
@@ -492,7 +492,7 @@ bool is_separator(char value) {
 
 void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
   result.clear();
-  
+
   // Check whether the temporary directory is specified by an environment
   // variable.
   const char *EnvironmentVariable;
@@ -505,7 +505,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
     result.append(RequestedDir, RequestedDir + strlen(RequestedDir));
     return;
   }
-    
+
   // Fall back to a system default.
   const char *DefaultResult;
 #ifdef LLVM_ON_WIN32
@@ -519,7 +519,7 @@ void system_temp_directory(bool erasedOnReboot, SmallVectorImpl<char> &result) {
 #endif
   result.append(DefaultResult, DefaultResult + strlen(DefaultResult));
 }
-  
+
 bool has_root_name(const Twine &path) {
   SmallString<128> path_storage;
   StringRef p = path.toStringRef(path_storage);