diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 05:24:47 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 05:24:47 +0000 |
commit | 95d206a9c7218deca9dd6c3f24513596f1226879 (patch) | |
tree | 74b48edbf4fcc805cdd2d48f62de040a17bc67d1 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 71f234ba6a2e37ee6d56aa7ed8f09105fd0517f9 (diff) |
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'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions