[clang] [Cygwin] Cygwin driver (PR #74933)
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 9 22:04:57 PST 2023
=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,
=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng,=?utf-8?b?5b6Q5oyB5oGS?= Xu Chiheng
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/74933 at github.com>
================
@@ -242,14 +240,7 @@ void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
switch (os) {
case llvm::Triple::Win32:
- switch (triple.getEnvironment()) {
- default: llvm_unreachable("Include management is handled in the driver.");
- case llvm::Triple::Cygnus:
- AddPath("/usr/include/w32api", System, false);
- break;
- case llvm::Triple::GNU:
- break;
- }
+ llvm_unreachable("Include management is handled in the driver.");
----------------
brad0 wrote:
Just remove the switch statement all together.
https://github.com/llvm/llvm-project/pull/74933
More information about the cfe-commits
mailing list