diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 15:06:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-20 15:06:35 +0000 |
commit | 9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a (patch) | |
tree | 6c6c21414b9f715eddbed94f39510c37c20282a8 /include | |
parent | dd1b7c9685324beb385c33b8dfd5628c4836670f (diff) | |
download | llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.tar.gz llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.tar.bz2 llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.tar.xz |
Rename fs::GetUniqueID to fs::getUniqueID to match the style guide.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/FileSystem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index 9497e4de1d..c1e11c0052 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -162,7 +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); + friend error_code getUniqueID(const Twine Path, uint64_t &Result); file_type Type; perms Perms; public: @@ -563,7 +563,11 @@ 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); +error_code getUniqueID(const Twine Path, uint64_t &Result); + +inline error_code GetUniqueID(const Twine Path, uint64_t &Result) { + return getUniqueID(Path, Result); +} /// This class represents a memory mapped file. It is based on /// boost::iostreams::mapped_file. |