[llvm-commits] CVS: llvm/lib/Transforms/Hello/Hello.cpp

Chris Lattner sabre at nondot.org
Tue Dec 5 17:50:18 PST 2006



Changes in directory llvm/lib/Transforms/Hello:

Hello.cpp updated: 1.9 -> 1.10
---
Log message:

counter should be unsigned.


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

 Hello.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Hello/Hello.cpp
diff -u llvm/lib/Transforms/Hello/Hello.cpp:1.9 llvm/lib/Transforms/Hello/Hello.cpp:1.10
--- llvm/lib/Transforms/Hello/Hello.cpp:1.9	Sun Nov 26 03:17:06 2006
+++ llvm/lib/Transforms/Hello/Hello.cpp	Tue Dec  5 19:50:04 2006
@@ -21,7 +21,7 @@
 using namespace llvm;
 
 namespace {
-  Statistic<int> HelloCounter("hellocount",
+  Statistic<> HelloCounter("hellocount",
       "Counts number of functions greeted");
   // Hello - The first implementation, without getAnalysisUsage.
   struct Hello : public FunctionPass {






More information about the llvm-commits mailing list