]> granicus.if.org Git - clang/commit
clang-cl: Expose -isystem.
authorNico Weber <nicolasweber@gmx.de>
Tue, 16 Feb 2016 19:05:50 +0000 (19:05 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 16 Feb 2016 19:05:50 +0000 (19:05 +0000)
commite9d15f0df2ca67b7b57387f30bda4da204adb0a3
treebe7bfbdfc48fbe89d568eb856d668dd87febc126
parent4bffc24d2f68dca2f87ed059b996e7bd724209b6
clang-cl: Expose -isystem.

Like cl.exe, clang-cl allows adding system include directories via the
INCLUDE env var.  Having a driver flag for this functionality is useful,
so add this too.

(In the future, we probably also want to have a flag alternative to
VCINSTALLDIR as used in MSVCToolChain::getVisualStudioBinaries(), and
a way to override the registry accesses in MSVCToolChain::getWindowsSDKDir()
-- maybe -ivcroot= and -iwinsdkroot=?).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260990 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/cl-options.c