[llvm-commits] CVS: llvm/include/llvm/Transforms/LinkAllPasses.h

Jeff Cohen jeffc at jolt-lang.org
Wed Jan 5 22:06:46 PST 2005



Changes in directory llvm/include/llvm/Transforms:

LinkAllPasses.h updated: 1.1 -> 1.2
---
Log message:

Get rid of those pesky tabs...

---
Diffs of the changes:  (+14 -14)

Index: llvm/include/llvm/Transforms/LinkAllPasses.h
diff -u llvm/include/llvm/Transforms/LinkAllPasses.h:1.1 llvm/include/llvm/Transforms/LinkAllPasses.h:1.2
--- llvm/include/llvm/Transforms/LinkAllPasses.h:1.1	Thu Jan  6 00:02:53 2005
+++ llvm/include/llvm/Transforms/LinkAllPasses.h	Thu Jan  6 00:06:35 2005
@@ -29,20 +29,20 @@
 extern "C" __declspec(dllimport) void* __stdcall GetCurrentProcess();
 
 namespace {
-	struct ForceLinking {
-		ForceLinking() {
-			// We must reference the passes in such a way that VC++ will not
-			// delete it all as dead code, even with whole program optimization,
-			// yet is effectively a NO-OP.  As the compiler isn't smart enough
-			// to know that GetCurrentProcess() never returns
-			// INVALID_HANDLE_VALUE, this will do the job.
-			if (GetCurrentProcess() != (void *) -1)
-				return;
+    struct ForceLinking {
+        ForceLinking() {
+            // We must reference the passes in such a way that VC++ will not
+            // delete it all as dead code, even with whole program optimization,
+            // yet is effectively a NO-OP.  As the compiler isn't smart enough
+            // to know that GetCurrentProcess() never returns
+            // INVALID_HANDLE_VALUE, this will do the job.
+            if (GetCurrentProcess() != (void *) -1)
+                return;
 
-			std::vector<llvm::BasicBlock*> bbv;
+            std::vector<llvm::BasicBlock*> bbv;
 
-			// The commented out calls below refer to non-existant creation
-			// functions.  They will be uncommented as the functions are added.
+            // The commented out calls below refer to non-existant creation
+            // functions.  They will be uncommented as the functions are added.
 
             // (void) llvm::createADCEPass();
             // (void) llvm::createArgPromotionPass();
@@ -105,8 +105,8 @@
             (void) llvm::createTailDuplicationPass();
             // (void) llvm::createTraceBasicBlocksPass();
             (void) llvm::createUnifyFunctionExitNodesPass();
-		}
-	} X;
+        }
+    } X;
 };
 
 #endif // LLVM_ON_WIN32






More information about the llvm-commits mailing list