From 72787ac661626c6972bf028dfb9b3615a89346ea Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 9 Nov 2018 01:59:28 +0000 Subject: Revert "[FileSystem] Make use of FS in TildeExpressionResolver" The whole point of this change was making it possible to resolve paths without depending on the FileSystem, which is not what I did here. Not sure what I was thinking... llvm-svn: 346466 --- lldb/unittests/Utility/TildeExpressionResolverTest.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lldb/unittests/Utility/TildeExpressionResolverTest.cpp') diff --git a/lldb/unittests/Utility/TildeExpressionResolverTest.cpp b/lldb/unittests/Utility/TildeExpressionResolverTest.cpp index eb4812619c3..bc1ca7a4481 100644 --- a/lldb/unittests/Utility/TildeExpressionResolverTest.cpp +++ b/lldb/unittests/Utility/TildeExpressionResolverTest.cpp @@ -1,7 +1,6 @@ #include "gtest/gtest.h" #include "TestingSupport/MockTildeExpressionResolver.h" -#include "lldb/Host/FileSystem.h" #include "lldb/Utility/TildeExpressionResolver.h" #include "llvm/ADT/SmallString.h" @@ -10,8 +9,7 @@ using namespace llvm; using namespace lldb_private; TEST(TildeExpressionResolver, ResolveFullPath) { - FileSystem fs; - MockTildeExpressionResolver Resolver(fs, "James", "/james"); + MockTildeExpressionResolver Resolver("James", "/james"); Resolver.AddKnownUser("Kirk", "/kirk"); Resolver.AddKnownUser("Lars", "/lars"); Resolver.AddKnownUser("Jason", "/jason"); -- cgit v1.2.3