Support/FileSystem: Add status implementation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2010-12-04 00:32:40 +00:00
parent da3aaffcbb
commit 470ae13be8
4 changed files with 87 additions and 3 deletions
+5 -3
View File
@@ -91,11 +91,13 @@ struct space_info {
class file_status
{
// implementation defined status field.
file_type Type;
public:
explicit file_status(file_type v=file_type::status_error);
explicit file_status(file_type v=file_type::status_error)
: Type(v) {}
file_type type() const;
void type(file_type v);
file_type type() const { return Type; }
void type(file_type v) { Type = v; }
};
/// @}