diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-06-19 21:03:50 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-06-19 21:03:50 +0000 |
commit | 4655485eb7dc1d137595149b9bd58eb73e11bb19 (patch) | |
tree | 491409b3cdc3810bc088ef129469167e7c999d01 /include | |
parent | 7032c883cdf8da579fbf9bf499d36a711eef676f (diff) | |
download | llvm-4655485eb7dc1d137595149b9bd58eb73e11bb19.tar.gz llvm-4655485eb7dc1d137595149b9bd58eb73e11bb19.tar.bz2 llvm-4655485eb7dc1d137595149b9bd58eb73e11bb19.tar.xz |
Modified the implementation of fs::GetUniqueID on Windows such that it actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FileSystem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index 21159dd264..9497e4de1d 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -162,6 +162,7 @@ class file_status #endif friend bool equivalent(file_status A, file_status B); friend error_code status(const Twine &path, file_status &result); + friend error_code GetUniqueID(const Twine Path, uint64_t &Result); file_type Type; perms Perms; public: |