[PATCH] D138183: [Driver] move FreeBSD header search path management to the driver

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 17 22:17:59 PST 2022


MaskRay added a comment.

> This matches OpenBSD, and it supports Swift's use of clang for its C interop functionality. Recent changes to Swift use AddClangSystemIncludeArgs() to inspect the cc1 args; this doesn't work for platforms where cc1 adds standard include paths implicitly.

Use a commit link if known.

> Also, clean up InitHeaderSearch, making it clearer which targets manage header search paths in the driver.



> Add test.

"Add test" is unneeded in the commit message:)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138183



More information about the cfe-commits mailing list