[PATCH] D62493: [Driver] Always use Unix-style paths in the Darwin driver

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 13:18:53 PDT 2019


ldionne created this revision.
ldionne added reviewers: jfb, rsmith.
Herald added subscribers: cfe-commits, dexonsmith, jkorous.
Herald added a project: clang.

Otherwise, the unit tests seem to be confused on Windows. Note that it
would in theory be better to always use the platform's path, however we
don't seem to have a good way of handling that with FileCheck right now.
This change makes the handling of paths on Darwin consistent with what
we do on Linux, and also with what we used to do (for several paths)
before the refactoring in r361278.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62493

Files:
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/test/Driver/darwin-header-search-libcxx.cpp
  clang/test/Driver/darwin-header-search-libstdcxx.cpp
  clang/test/Driver/darwin-header-search-system.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62493.201565.patch
Type: text/x-patch
Size: 21977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190527/79a24200/attachment-0001.bin>


More information about the cfe-commits mailing list