From a0031cc08c73717341e53c9d5c6c9daa4fcdf5f7 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 13 Feb 2004 04:49:04 +0000 Subject: [PATCH] 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 --- include/Support/Statistic.h | 4 ++-- include/llvm/ADT/Statistic.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Support/Statistic.h b/include/Support/Statistic.h index 9da645ba4e5..c95db3f82cb 100644 --- a/include/Support/Statistic.h +++ b/include/Support/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; // //===----------------------------------------------------------------------===// diff --git a/include/llvm/ADT/Statistic.h b/include/llvm/ADT/Statistic.h index 9da645ba4e5..c95db3f82cb 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; // //===----------------------------------------------------------------------===// -- 2.34.1