[PATCH] D112289: Support: Use sys::path::is_style_{posix,windows}() in a few places

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 28 17:12:12 PDT 2021


dexonsmith updated this revision to Diff 383206.
dexonsmith retitled this revision from "Support: Use sys::path::system_style() in a few places" to "Support: Use sys::path::is_style_{posix,windows}() in a few places".
dexonsmith edited the summary of this revision.
dexonsmith added reviewers: mstorsjo, rnk.
dexonsmith added a comment.

Rebased on top of https://reviews.llvm.org/D110369, which switched from `system_style()` to `is_style_{posix,windows,native}()`, and updated the description.

Also cleaned up uses of `real_style()` in llvm/lib/Support/Path.cpp that were unrelated to slash preferences.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112289/new/

https://reviews.llvm.org/D112289

Files:
  clang/include/clang/Basic/JsonSupport.h
  clang/lib/Basic/FileManager.cpp
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/ToolChain.cpp
  clang/lib/Lex/PPDirectives.cpp
  clang/unittests/Basic/FileManagerTest.cpp
  clang/unittests/Driver/ToolChainTest.cpp
  clang/unittests/Lex/HeaderSearchTest.cpp
  clang/unittests/Tooling/RefactoringTest.cpp
  llvm/include/llvm/Support/VirtualFileSystem.h
  llvm/lib/Support/GraphWriter.cpp
  llvm/lib/Support/Path.cpp
  llvm/tools/lli/lli.cpp
  llvm/unittests/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112289.383206.patch
Type: text/x-patch
Size: 21172 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211029/12227f4f/attachment-0001.bin>


More information about the cfe-commits mailing list