From 4655485eb7dc1d137595149b9bd58eb73e11bb19 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 19 Jun 2013 21:03:50 +0000 Subject: 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 --- include/llvm/Support/FileSystem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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: -- cgit v1.2.3