summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-18 19:34:49 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-18 19:34:49 +0000
commit605510d16ead87dc48a363addb8a99eca6e3f17c (patch)
treea208a08b79913daef0b721791882cadd75967cec /include
parent13769fa725b03a937335cf04d2b9cc1ca426060f (diff)
downloadllvm-605510d16ead87dc48a363addb8a99eca6e3f17c.tar.gz
llvm-605510d16ead87dc48a363addb8a99eca6e3f17c.tar.bz2
llvm-605510d16ead87dc48a363addb8a99eca6e3f17c.tar.xz
Add a GetUniqueID that will replace the uniqueID of PathV1.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/FileSystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index 11c78cc939..6de8759dda 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -556,6 +556,8 @@ file_magic identify_magic(StringRef magic);
/// platform specific error_code.
error_code identify_magic(const Twine &path, file_magic &result);
+error_code GetUniqueID(const Twine Path, uint64_t &Result);
+
/// This class represents a memory mapped file. It is based on
/// boost::iostreams::mapped_file.
class mapped_file_region {