diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-09 01:59:28 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-09 01:59:28 +0000 |
commit | 72787ac661626c6972bf028dfb9b3615a89346ea (patch) | |
tree | c120717f89bb2740bbc17b1f840ec1413eca1c29 /lldb/source/Commands/CommandCompletions.cpp | |
parent | 2faf079494e90c1a941cf1bf51c8e7abb19bcef9 (diff) | |
download | bcm5719-llvm-72787ac661626c6972bf028dfb9b3615a89346ea.tar.gz bcm5719-llvm-72787ac661626c6972bf028dfb9b3615a89346ea.zip |
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
Diffstat (limited to 'lldb/source/Commands/CommandCompletions.cpp')
-rw-r--r-- | lldb/source/Commands/CommandCompletions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandCompletions.cpp b/lldb/source/Commands/CommandCompletions.cpp index 2f569721025..af699a543d4 100644 --- a/lldb/source/Commands/CommandCompletions.cpp +++ b/lldb/source/Commands/CommandCompletions.cpp @@ -231,7 +231,7 @@ static int DiskFilesOrDirectories(const llvm::Twine &partial_name, static int DiskFilesOrDirectories(CompletionRequest &request, bool only_directories) { request.SetWordComplete(false); - StandardTildeExpressionResolver resolver(FileSystem::Instance()); + StandardTildeExpressionResolver resolver; StringList matches; DiskFilesOrDirectories(request.GetCursorArgumentPrefix(), only_directories, matches, resolver); |