Remove last use of PathV1.h from Archive.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-06-20 22:02:10 +00:00
parent 4010e43810
commit bdae6fa82c
3 changed files with 30 additions and 9 deletions
+14
View File
@@ -153,6 +153,8 @@ class file_status
dev_t fs_st_dev;
ino_t fs_st_ino;
time_t fs_st_mtime;
uid_t fs_st_uid;
gid_t fs_st_gid;
#elif defined (LLVM_ON_WIN32)
uint32_t LastWriteTimeHigh;
uint32_t LastWriteTimeLow;
@@ -177,6 +179,18 @@ public:
perms permissions() const { return Perms; }
TimeValue getLastModificationTime() const;
#if defined(LLVM_ON_UNIX)
uint32_t getUser() const { return fs_st_uid; }
uint32_t getGroup() const { return fs_st_gid; }
#elif defined (LLVM_ON_WIN32)
uint32_t getUser() const {
return 9999; // Not applicable to Windows, so...
}
uint32_t getGroup() const {
return 9999; // Not applicable to Windows, so...
}
#endif
// setters
void type(file_type v) { Type = v; }
void permissions(perms p) { Perms = p; }