aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/System/Path.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index bd3a5dffae..14250b5de8 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -18,7 +18,7 @@
#include <set>
#include <string>
#include <vector>
-#include <ostream>
+#include <iosfwd>
namespace llvm {
namespace sys {
@@ -567,10 +567,7 @@ namespace sys {
void CopyFile(const Path& Dest, const Path& Src);
}
-inline std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath) {
- strm << aPath.toString();
- return strm;
-}
+std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);
}