]> granicus.if.org Git - clang/commit
Driver: Honor %INCLUDE% when built with MinGW
authorReid Kleckner <reid@kleckner.net>
Wed, 23 Apr 2014 00:15:12 +0000 (00:15 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 23 Apr 2014 00:15:12 +0000 (00:15 +0000)
commit5f701b4abbc51f84da23b73da9faf955a1d4bfee
tree0fdefa3958075cb7aa2167ac58e86b7e52f52ff3
parentb183650d5a6085309481fc7fd7faeb0b0cb89828
Driver: Honor %INCLUDE% when built with MinGW

Users are expected to pass system includes through the INCLUDE
environment variable on Windows.  There's no reason to change behavior
based on the toolchain used to build Clang.

I didn't change the registry searching code because I'm not sure it
builds with mingw and I'm not set up to test it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206934 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/WindowsToolChain.cpp
test/Driver/windows-include-env.c [new file with mode: 0644]