Skip to content

Commit

Permalink
[Driver] Remove some misused NoXarchOption
Browse files Browse the repository at this point in the history
If an option has the `NoXarchOption` flag, ClangDriver will emit an error if the
option is used after `-Xarch_*` (originally for universal macOS binary, reused
by offloading purposes `-Xarch_host`/etc). The error checking only applies to a
small set of options (e.g. `-o`) and is not very useful for most options, but
`NoXarchOption` was improperly named `DriverOption` (commit
aabb0b1) and lured some contributors to add
`NoXarchOption` to options that should not have the flag.
  • Loading branch information
MaskRay committed Oct 26, 2023
1 parent 2e2011d commit fa18827
Showing 1 changed file with 78 additions and 110 deletions.

0 comments on commit fa18827

Please sign in to comment.