[clang] [Driver] Add winsysroot alias to the GNU driver (PR #94731)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 00:09:35 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (Andarwinux)

<details>
<summary>Changes</summary>

fixes #<!-- -->91216

---
Full diff: https://github.com/llvm/llvm-project/pull/94731.diff


1 Files Affected:

- (modified) clang/include/clang/Driver/Options.td (+2) 


``````````diff
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index f04c220d6e1db..6c34c49b5e988 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -8569,6 +8569,8 @@ def : Separate<["-"], "Xmicrosoft-windows-sdk-root">,
     Alias<_SLASH_winsdkdir>;
 def : Separate<["-"], "Xmicrosoft-windows-sdk-version">,
     Alias<_SLASH_winsdkversion>;
+def : Separate<["-"], "Xmicrosoft-windows-sys-root">,
+    Alias<_SLASH_winsysroot>;
 
 // Ignored:
 

``````````

</details>


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


More information about the cfe-commits mailing list