Remove the unnecessary -S option for modern clang.
Review Request #14733 — Created Dec. 11, 2025 and updated
A long time ago, the
-Soption that we passed toclang --analyze ...
used to matter to tell clang to compile to assembly and then stop. But
modern versions of clang now ignore any code generation related flags
when--analyzeis passed, so this-Soption isn't needed anymore.Clang 15 and newer is more noisy about unused arguments during
compilation, so it was complaining about the-S. This change removes
the option from our command.
- Ran integration unit tests with clang 20 and saw that the unused
argument warnings that were causing a couple tests to fail went away.
| Summary | ID |
|---|---|
| db660d814037c98ae7802756969f028cfdab80e8 |
| Description | From | Last Updated |
|---|---|---|
|
This seems fine. I do wonder if this will break any existing users. We should at least note the minimum … |
|