aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-18 19:46:19 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-18 19:46:19 +0000
commit2e0f70bdd8814eefb752f1d0221800cbdbd8d1f5 (patch)
tree2e0d0c931047c90e9ddc2b48a57ffb3febadd085 /lib/Support/Windows/Path.inc
parent605510d16ead87dc48a363addb8a99eca6e3f17c (diff)
downloadexternal_llvm-2e0f70bdd8814eefb752f1d0221800cbdbd8d1f5.zip
external_llvm-2e0f70bdd8814eefb752f1d0221800cbdbd8d1f5.tar.gz
external_llvm-2e0f70bdd8814eefb752f1d0221800cbdbd8d1f5.tar.bz2
Remove uniqueID from PathV1.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Path.inc')
-rw-r--r--lib/Support/Windows/Path.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc
index 4a6e563..1e453d0 100644
--- a/lib/Support/Windows/Path.inc
+++ b/lib/Support/Windows/Path.inc
@@ -290,13 +290,6 @@ PathWithStatus::getFileStatus(bool update, std::string *ErrStr) const {
status.user = 9999; // Not applicable to Windows, so...
status.group = 9999; // Not applicable to Windows, so...
- // FIXME: this is only unique if the file is accessed by the same file path.
- // How do we do this for C:\dir\file and ..\dir\file ? Unix has inode
- // numbers, but the concept doesn't exist in Windows.
- status.uniqueID = 0;
- for (unsigned i = 0; i < path.length(); ++i)
- status.uniqueID += path[i];
-
ULARGE_INTEGER ui;
ui.LowPart = fi.ftLastWriteTime.dwLowDateTime;
ui.HighPart = fi.ftLastWriteTime.dwHighDateTime;