diff options
author | Chris Lattner <sabre@nondot.org> | 2006-07-07 18:10:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-07-07 18:10:59 +0000 |
commit | ff74ac103d0943837c5ec90dd1f827902c699a7f (patch) | |
tree | cc95f9cda3a265bcc3fe3ee820545728eab58cbd /include/llvm/System | |
parent | cb7938c328cd80449f098fa71d91131f15357bda (diff) | |
download | external_llvm-ff74ac103d0943837c5ec90dd1f827902c699a7f.zip external_llvm-ff74ac103d0943837c5ec90dd1f827902c699a7f.tar.gz external_llvm-ff74ac103d0943837c5ec90dd1f827902c699a7f.tar.bz2 |
#include <iosfwd> not <ostream>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System')
-rw-r--r-- | include/llvm/System/Path.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h index bd3a5df..14250b5 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); } |