summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-06 06:06:35 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-06 06:06:35 +0000
commitd1c452b501867320d7a8c35ac1a486bf2229ca41 (patch)
tree4ac287e953bd8fc5a4614422f262d2e4f4297a3c /include/llvm/Transforms
parent4b807e0381be558f3c9173c971ecf640cb9a9176 (diff)
Get rid of those pesky tabs...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/LinkAllPasses.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/llvm/Transforms/LinkAllPasses.h b/include/llvm/Transforms/LinkAllPasses.h
index 5d58064f1cb..87e62728b87 100644
--- a/include/llvm/Transforms/LinkAllPasses.h
+++ b/include/llvm/Transforms/LinkAllPasses.h
@@ -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 @@ namespace {
(void) llvm::createTailDuplicationPass();
// (void) llvm::createTraceBasicBlocksPass();
(void) llvm::createUnifyFunctionExitNodesPass();
- }
- } X;
+ }
+ } X;
};
#endif // LLVM_ON_WIN32