[Lldb-commits] [PATCH] D46753: FileSpec: Remove PathSyntax enum and use llvm version instead

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri May 11 06:13:18 PDT 2018


labath created this revision.
labath added reviewers: zturner, clayborg.

The llvm version of the enum has the same enumerators, with stlightly
different names, so this is mostly just a search&replace exercise. One
concrete benefit of this is that we can remove the function for
converting between the two enums.

To avoid typing llvm::sys::path::Style::windows everywhere I import the
enum into the FileSpec class, so it can be referenced as
FileSpec::Style::windows.


https://reviews.llvm.org/D46753

Files:
  include/lldb/Utility/FileSpec.h
  source/Plugins/Platform/Android/PlatformAndroid.cpp
  source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
  source/Utility/FileSpec.cpp
  unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
  unittests/Target/ModuleCacheTest.cpp
  unittests/Utility/FileSpecTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46753.146316.patch
Type: text/x-patch
Size: 26477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180511/f2a69b4a/attachment-0001.bin>


More information about the lldb-commits mailing list