aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Timer.h')
-rw-r--r--include/llvm/Support/Timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Timer.h b/include/llvm/Support/Timer.h
index 71b7ee5..7240cb9 100644
--- a/include/llvm/Support/Timer.h
+++ b/include/llvm/Support/Timer.h
@@ -19,12 +19,12 @@
#include "llvm/System/Mutex.h"
#include <string>
#include <vector>
-#include <iosfwd>
#include <cassert>
namespace llvm {
class TimerGroup;
+class raw_ostream;
/// Timer - This class is used to track the amount of time spent between
/// invocations of it's startTimer()/stopTimer() methods. Given appropriate OS
@@ -112,7 +112,7 @@ public:
/// print - Print the current timer to standard error, and reset the "Started"
/// flag.
- void print(const Timer &Total, std::ostream &OS);
+ void print(const Timer &Total, raw_ostream &OS);
private:
friend class TimerGroup;