aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/CompilationDatabaseTest.cpp
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
commit0fcbb2893eca48b9cf661e7ee82e8b94c89228b6 (patch)
tree45cee92f4a9f55957a65d3a1155f7284b992c636 /clang/unittests/Tooling/CompilationDatabaseTest.cpp
parente5ad2986fc5b70bc11acad820165997e32f0d95b (diff)
downloadllvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.zip
llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.tar.gz
llvm-0fcbb2893eca48b9cf661e7ee82e8b94c89228b6.tar.bz2
Revert r301487: Replace HashString algorithm with xxHash64
This reverts commit r301487 to make buildbots green. llvm-svn: 301491
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
-rw-r--r--clang/unittests/Tooling/CompilationDatabaseTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Tooling/CompilationDatabaseTest.cpp b/clang/unittests/Tooling/CompilationDatabaseTest.cpp
index 5d4ed20..1a6fffe 100644
--- a/clang/unittests/Tooling/CompilationDatabaseTest.cpp
+++ b/clang/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\","