llvm.org GIT mirror llvm / ec47f70
Fix unused function warning in StatisticTest.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327015 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Sanders 2 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1818 STATISTIC(Counter, "Counts things");
1919 STATISTIC(Counter2, "Counts other things");
2020
21 #if LLVM_ENABLE_STATS
2122 static void
2223 extractCounters(const std::vector> &Range,
2324 OptionalStatistic &S1, OptionalStatistic &S2) {
2829 S2 = S;
2930 }
3031 }
32 #endif
3133
3234 TEST(StatisticTest, Count) {
3335 EnableStatistics();