Skip to content
Commit e75ffa1b authored by Nick Lewycky's avatar Nick Lewycky
Browse files

In option typo correction, consider -foo=VALUE flags as two distinct parts. The

comments claimed it did this, but the LHS value was actually an unused variable.

The new system considers only the '-foo' part when comparing it for typos
against flags that have values, but still look at the whole string for flags
that don't. That way, we'll still correct '-inst=combine' to '-instcombine'.

llvm-svn: 130685
parent 5f1eb968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment