summaryrefslogtreecommitdiff
path: root/include/llvm/ADT/Statistic.h
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-13 04:49:04 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-13 04:49:04 +0000
commita0031cc08c73717341e53c9d5c6c9daa4fcdf5f7 (patch)
treee3f55a4aeb99d21341ffcccd9816bdf5f4224e6b /include/llvm/ADT/Statistic.h
parentf13a3f4dd1eaa89ca9a64a1e820b089facca3366 (diff)
downloadllvm-a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7.tar.gz
llvm-a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7.tar.bz2
llvm-a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7.tar.xz
Update the example here in the header file.
I don't know about you guys, but I rarely read the .html manuals :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/Statistic.h')
-rw-r--r--include/llvm/ADT/Statistic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h
index 9da645ba4e..c95db3f82c 100644
--- a/include/llvm/ADT/Statistic.h
+++ b/include/llvm/ADT/Statistic.h
@@ -15,9 +15,9 @@
// This is useful for reporting information like the number of instructions
// simplified, optimized or removed by various transformations, like this:
//
-// static Statistic<> NumInstEliminated("GCSE - Number of instructions killed");
+// static Statistic<> NumInstsKilled("gcse", "Number of instructions killed");
//
-// Later, in the code: ++NumInstEliminated;
+// Later, in the code: ++NumInstsKilled;
//
//===----------------------------------------------------------------------===//