[llvm-commits] CVS: llvm/include/llvm/System/Path.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 7 11:11:13 PDT 2006
Changes in directory llvm/include/llvm/System:
Path.h updated: 1.29 -> 1.30
---
Log message:
#include <iosfwd> not <ostream>
---
Diffs of the changes: (+2 -5)
Path.h | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
Index: llvm/include/llvm/System/Path.h
diff -u llvm/include/llvm/System/Path.h:1.29 llvm/include/llvm/System/Path.h:1.30
--- llvm/include/llvm/System/Path.h:1.29 Thu Jun 8 12:00:08 2006
+++ llvm/include/llvm/System/Path.h Fri Jul 7 13:10:59 2006
@@ -18,7 +18,7 @@
#include <set>
#include <string>
#include <vector>
-#include <ostream>
+#include <iosfwd>
namespace llvm {
namespace sys {
@@ -567,10 +567,7 @@
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);
}
More information about the llvm-commits
mailing list