Resubmit "Delete the remainder of platform specific code in FileSpec."
authorZachary Turner <zturner@google.com>
Wed, 22 Mar 2017 17:33:23 +0000 (17:33 +0000)
committerZachary Turner <zturner@google.com>
Wed, 22 Mar 2017 17:33:23 +0000 (17:33 +0000)
commit8d48cd60098cb4cea3455b98f77d531869e64e19
tree93800a872e766a5492f085b304e6e45ce5c43269
parent1012fe8a5459c7227791e4f14714846af249f094
Resubmit "Delete the remainder of platform specific code in FileSpec."

This was causing a test failure in one of LLDB's tests which
specifically dealt with a limitation in LLVM's implementation
of home_directory() that LLDB's own implementation had worked
around.

This limitation has been addressed in r298513 on the LLVM side,
so the failing test (which is now unnecessary as the limitation
no longer exists) was removed in r298519, allowing this patch to
be re-submitted without modification.

llvm-svn: 298526
19 files changed:
lldb/include/lldb/Host/FileSpec.h
lldb/include/lldb/Utility/TildeExpressionResolver.h
lldb/source/API/SBDeclaration.cpp
lldb/source/API/SBFileSpec.cpp
lldb/source/API/SBFileSpecList.cpp
lldb/source/API/SBLineEntry.cpp
lldb/source/Host/common/FileSpec.cpp
lldb/source/Host/windows/FileSystem.cpp
lldb/source/Host/windows/HostInfoWindows.cpp
lldb/source/Target/TargetList.cpp
lldb/source/Utility/TildeExpressionResolver.cpp
lldb/unittests/CMakeLists.txt
lldb/unittests/Interpreter/CMakeLists.txt
lldb/unittests/Interpreter/TestCompletion.cpp
lldb/unittests/Utility/CMakeLists.txt
lldb/unittests/Utility/Mocks/CMakeLists.txt [new file with mode: 0644]
lldb/unittests/Utility/Mocks/MockTildeExpressionResolver.cpp [new file with mode: 0644]
lldb/unittests/Utility/Mocks/MockTildeExpressionResolver.h [new file with mode: 0644]
lldb/unittests/Utility/TildeExpressionResolverTest.cpp [new file with mode: 0644]