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 /unittests/Support | |
parent | dd1b7c9685324beb385c33b8dfd5628c4836670f (diff) | |
download | external_llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.zip external_llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.tar.gz external_llvm-9aa3365426ef5b8b82361945bc6a8dbcd3d2bc2a.tar.bz2 |
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 'unittests/Support')
-rw-r--r-- | unittests/Support/Path.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp index 4f9d146..d5591ea 100644 --- a/unittests/Support/Path.cpp +++ b/unittests/Support/Path.cpp @@ -173,8 +173,8 @@ TEST_F(FileSystemTest, Unique) { // The same file should return an identical unique id. uint64_t F1, F2; - ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath), F1)); - ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath), F2)); + ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); + ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); ASSERT_EQ(F1, F2); // Different files should return different unique ids. @@ -184,7 +184,7 @@ TEST_F(FileSystemTest, Unique) { fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor2, TempPath2)); uint64_t D; - ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath2), D)); + ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); ASSERT_NE(D, F1); ::close(FileDescriptor2); @@ -194,7 +194,7 @@ TEST_F(FileSystemTest, Unique) { // same unique id. We can test this by making a hard link. ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2))); uint64_t D2; - ASSERT_NO_ERROR(fs::GetUniqueID(Twine(TempPath2), D2)); + ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); ASSERT_EQ(D2, F1); ::close(FileDescriptor); |