mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Implement the output inserter for PathWithStatus
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
184e67e208
commit
84c8a9c592
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user