From 9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 20 Jun 2013 15:06:35 +0000 Subject: 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 --- include/llvm/Support/FileSystem.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') 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. -- cgit v1.2.3