[clang] [Cygwin] Cygwin driver (PR #74933)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 9 22:04:56 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>


================
@@ -205,9 +205,7 @@ void InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple &triple,
   if (HSOpts.UseStandardSystemIncludes) {
     switch (os) {
     case llvm::Triple::Win32:
-      if (triple.getEnvironment() != llvm::Triple::Cygnus)
-        break;
-      [[fallthrough]];
----------------
brad0 wrote:

Just remove the Win32 switch case.

https://github.com/llvm/llvm-project/pull/74933


More information about the cfe-commits mailing list