[PATCH] D73500: [driver] Add a -builtininc flag that lets Darwin driver include Clang builtin headers even with -nostdinc

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 17:10:56 PST 2020


arphaman updated this revision to Diff 241029.
arphaman marked 2 inline comments as done.
arphaman added a comment.

Add suggested changes. The `-ibuiltininc` flag now interacts with `-nobuiltininc` as well, i.e. it's cancelled out if `-nobuiltininc` comes after it, and vice-versa.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73500

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/test/Driver/darwin-header-search-system.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73500.241029.patch
Type: text/x-patch
Size: 7076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200129/f0948027/attachment.bin>


More information about the cfe-commits mailing list