#include <iosfwd> not <ostream>
authorChris Lattner <sabre@nondot.org>
Fri, 7 Jul 2006 18:10:59 +0000 (18:10 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 7 Jul 2006 18:10:59 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29061 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/Path.h

index bd3a5dffae5a380b39c4e26b5ca75e28b0bf4225..14250b5de8ea4bfaec10915e475dce8319f5141e 100644 (file)
@@ -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);
 
 }