From 224d8153b53b16cf535ea1a55afdfe1ec5b1374f Mon Sep 17 00:00:00 2001 From: Sergej Jaskiewicz Date: Wed, 2 Sep 2020 00:54:20 +0300 Subject: [PATCH] [llvm] [unittests] Fix failing test 'FileCollectorTest.addDirectory' This fixes a regression in the test suite introduced by fad75598d272b9a5591fb7d9b591cf00cdf5022c --- llvm/unittests/Support/FileCollectorTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/Support/FileCollectorTest.cpp b/llvm/unittests/Support/FileCollectorTest.cpp index 20d7068..644daa37 100644 --- a/llvm/unittests/Support/FileCollectorTest.cpp +++ b/llvm/unittests/Support/FileCollectorTest.cpp @@ -95,7 +95,7 @@ TEST(FileCollectorTest, addDirectory) { // Make sure we've only seen the added files. llvm::SmallString<128> ddd(file_root.path()); llvm::sys::path::append(ddd, "ddd"); - TempFile d(ddd.str(), "", "", /*Unique*/ true); + TempFile d(ddd); EXPECT_FALSE(FileCollector.hasSeen(d.path())); } -- 2.7.4