Add namespace qualifier
[oota-llvm.git] / include / Support / Statistic.h
index f25ffc6b3a8351507b4ccb9a6916ddb4f343c7e1..4e592d5832f8cffb424a0186634362847dd31a6f 100644 (file)
@@ -1,4 +1,11 @@
 //===-- 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
@@ -19,6 +26,8 @@
 
 #include <iosfwd>
 
+namespace llvm {
+
 // StatisticBase - Nontemplated base class for Statistic<> class...
 class StatisticBase {
   const char *Name;
@@ -71,4 +80,6 @@ public:
   const Statistic &operator-=(const DataType &V) { Value -= V; return *this; }
 };
 
+} // End llvm namespace
+
 #endif