[all-commits] [llvm/llvm-project] f96f64: [driver][Darwin] Add an -ibuiltininc flag that let...

Alex Lorenz via All-commits all-commits at lists.llvm.org
Tue Jan 28 18:19:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f96f64d0f2793fe720bf847cac4a45d74a81c0ef
      https://github.com/llvm/llvm-project/commit/f96f64d0f2793fe720bf847cac4a45d74a81c0ef
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

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

  Log Message:
  -----------
  [driver][Darwin] Add an -ibuiltininc flag that lets Darwin driver
include Clang builtin headers even with -nostdinc

Some projects use -nostdinc, but need to access some intrinsics files when building specific files.
The new -ibuiltininc flag lets them use this flag when compiling these files to ensure they can
find Clang's builtin headers.

The use of -nobuiltininc after the -ibuiltininc flag does not add the builtin header
search path to the list of header search paths.

Differential Revision: https://reviews.llvm.org/D73500




More information about the All-commits mailing list