//===-- Support/Statistic.h - Easy way to expose stats ----------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
//
// This file defines the 'Statistic' class, which is designed to be an easy way
// to expose various success metrics from passes. These statistics are printed
#include <iosfwd>
+namespace llvm {
+
// StatisticBase - Nontemplated base class for Statistic<> class...
class StatisticBase {
const char *Name;
const Statistic &operator-=(const DataType &V) { Value -= V; return *this; }
};
+} // End llvm namespace
+
#endif