counter should be unsigned.
authorChris Lattner <sabre@nondot.org>
Wed, 6 Dec 2006 01:50:04 +0000 (01:50 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Dec 2006 01:50:04 +0000 (01:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32252 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Hello/Hello.cpp

index e02406d81d5cd0b9fe2d8dd3b208b8a5bdf07e00..a91360f962d35e60479cc7a0093f16aa56301be9 100644 (file)
@@ -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 {