You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2024. It is now read-only.
Get rid of spurious diagnostics when compiling system modules with Xcode 12.5:
```
<unknown>:0: error: invalid argument '-fsystem-module' only allowed with '-emit-module'
```
This happens because ClangImporter changes the invocation's action to `GenerateModule` *after* the invocation is created by parsing the `-Xcc` flags from the Swift command line, and Clang's argument parser emits a diagnostic if `-fsystem-module` is used with any other action.
PiperOrigin-RevId: 375942286
0 commit comments