diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-18 19:46:19 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-18 19:46:19 +0000 |
| commit | 8f181a5406d3bfdfd68e2c44e43e6ccf369f1359 (patch) | |
| tree | 870335c6d19db0c98a79a3d2c5f56d585b04696c /llvm/lib/Support/Windows/Path.inc | |
| parent | f9e9bb88589202d0b0d4832bea0347b5ccae81c0 (diff) | |
| download | bcm5719-llvm-8f181a5406d3bfdfd68e2c44e43e6ccf369f1359.tar.gz bcm5719-llvm-8f181a5406d3bfdfd68e2c44e43e6ccf369f1359.zip | |
Remove uniqueID from PathV1.h.
llvm-svn: 184219
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
| -rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 4a6e56350b4..1e453d01ee4 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/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; |

