summaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-04-26 23:15:10 +0000
committerRui Ueyama <ruiu@google.com>2017-04-26 23:15:10 +0000
commit4deadfaaec8ed9547fa06d4011b7e158a628a770 (patch)
treefe44ebf04765e299f3e55eb928ebcfcf7946119f /unittests
parent3670d2ef78fea4d7d5701092648022a21b977c16 (diff)
Revert r301487: Replace HashString algorithm with xxHash64
This reverts commit r301487 to make buildbots green. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Tooling/CompilationDatabaseTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Tooling/CompilationDatabaseTest.cpp b/unittests/Tooling/CompilationDatabaseTest.cpp
index 5d4ed20603..1a6fffec93 100644
--- a/unittests/Tooling/CompilationDatabaseTest.cpp
+++ b/unittests/Tooling/CompilationDatabaseTest.cpp
@@ -81,10 +81,10 @@ TEST(JSONCompilationDatabase, GetAllFiles) {
std::vector<std::string> expected_files;
SmallString<16> PathStorage;
- llvm::sys::path::native("//net/dir/file2", PathStorage);
- expected_files.push_back(PathStorage.str());
llvm::sys::path::native("//net/dir/file1", PathStorage);
expected_files.push_back(PathStorage.str());
+ llvm::sys::path::native("//net/dir/file2", PathStorage);
+ expected_files.push_back(PathStorage.str());
EXPECT_EQ(expected_files,
getAllFiles("[{\"directory\":\"//net/dir\","
"\"command\":\"command\","