#include <set>
#include <string>
#include <vector>
+#include <ostream>
namespace llvm {
namespace sys {
/// @throws std::string if the path string is not legal.
/// @param unverified_path The path to verify and assign.
/// @brief Construct a Path from a string.
- explicit Path(std::string unverified_path);
+ explicit Path(const std::string& unverified_path);
/// @}
/// @name Operators
LLVMFileType IdentifyFileType(const char*magic, unsigned length);
}
+inline std::ostream& operator<<(std::ostream& strm, const sys::Path& aPath) {
+ strm << aPath.toString();
+ return strm;
+}
+
}
// vim: sw=2