summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Statistic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
-rw-r--r--llvm/lib/Support/Statistic.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp
index c60a85cdeb6..3ac2bf97fbe 100644
--- a/llvm/lib/Support/Statistic.cpp
+++ b/llvm/lib/Support/Statistic.cpp
@@ -27,8 +27,10 @@
#include <iostream>
#include <algorithm>
+namespace llvm {
+
// GetLibSupportInfoOutputFile - Return a file stream to print our output on...
-std::ostream *GetLibSupportInfoOutputFile();
+extern std::ostream *GetLibSupportInfoOutputFile();
unsigned StatisticBase::NumStats = 0;
@@ -104,3 +106,5 @@ void StatisticBase::destroy() const {
delete OutStream; // Close the file...
}
}
+
+} // End llvm namespace
OpenPOWER on IntegriCloud