[all-commits] [llvm/llvm-project] 3063a5: [clang-cl] Implement /external:I, /external:env, a...
Hans via All-commits
all-commits at lists.llvm.org
Mon Jun 21 06:42:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3063a5472266f05add4e5b85f34141ba2e66fa2e
https://github.com/llvm/llvm-project/commit/3063a5472266f05add4e5b85f34141ba2e66fa2e
Author: Hans Wennborg <hans at chromium.org>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-include.c
M clang/test/Driver/cl-options.c
Log Message:
-----------
[clang-cl] Implement /external:I, /external:env, and EXTERNAL_INCLUDE support (PR36003)
This patch does three things:
- Map the /external:I flag to -isystem
- Add support for the /external:env:<var> flag which reads system
include paths from the <var> environment variable
- Pick up system include dirs EXTERNAL_INCLUDE in addition to the old
INCLUDE environment variable.
Differential revision: https://reviews.llvm.org/D104387
More information about the All-commits
mailing list