projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
184e67e
)
Implement the output inserter for PathWithStatus
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 8 Apr 2007 20:05:10 +0000
(20:05 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 8 Apr 2007 20:05:10 +0000
(20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35770
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/Path.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/Path.h
b/include/llvm/System/Path.h
index 69c1b483070cd2b6bc04d4e07966488793a0655f..6c9ab94579c55a44abbb796af28ca4f481dda213 100644
(file)
--- a/
include/llvm/System/Path.h
+++ b/
include/llvm/System/Path.h
@@
-617,9
+617,12
@@
namespace sys {
bool CopyFile(const Path& Dest, const Path& Src, std::string* ErrMsg);
}
-
std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath);
-std::ostream& operator<<(std::ostream& strm, const sys::PathWithStatus& aPath);
+inline std::ostream& operator<<(std::ostream& strm,
+ const sys::PathWithStatus& aPath) {
+ strm << static_cast<const sys::Path&>(aPath);
+ return strm;
+}
}