[llvm-commits] CVS: llvm/lib/Transforms/Hello/Hello.cpp
Misha Brukman
brukman at cs.uiuc.edu
Thu Apr 21 16:46:07 PDT 2005
Changes in directory llvm/lib/Transforms/Hello:
Hello.cpp updated: 1.5 -> 1.6
---
Log message:
Remove trailing whitespace
---
Diffs of the changes: (+4 -4)
Hello.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Transforms/Hello/Hello.cpp
diff -u llvm/lib/Transforms/Hello/Hello.cpp:1.5 llvm/lib/Transforms/Hello/Hello.cpp:1.6
--- llvm/lib/Transforms/Hello/Hello.cpp:1.5 Wed Aug 11 21:44:23 2004
+++ llvm/lib/Transforms/Hello/Hello.cpp Thu Apr 21 18:45:56 2005
@@ -1,10 +1,10 @@
//===- Hello.cpp - Example code from "Writing an LLVM Pass" ---------------===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
// This file implements two versions of the LLVM "Hello World" pass described
@@ -24,7 +24,7 @@
std::cerr << "Hello: " << F.getName() << "\n";
return false;
}
- };
+ };
RegisterOpt<Hello> X("hello", "Hello World Pass");
// Hello2 - The second implementation with getAnalysisUsage implemented.
@@ -38,6 +38,6 @@
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
};
- };
+ };
RegisterOpt<Hello2> Y("hello2", "Hello World Pass (with getAnalysisUsage implemented)");
}
More information about the llvm-commits
mailing list