The limits on the number of fix-it hints and ranges attached to a
diagnostic are arbitrary and don't apply universally to all users of the
DiagnosticsEngine. The way the limits are enforced may lead to diagnostics
generating invalid sets of fixes. I suggest removing the limits, which will also
simplify the implementation.
Details
Details
- Reviewers
rsmith - Commits
- rGd3b4e08960ad: Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine.
rC209468: Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine.
rL209468: Remove limits on the number of fix-it hints and ranges in the DiagnosticsEngine.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks great. I wonder why it wasn't always done this way...
lib/Format/Format.cpp | ||
---|---|---|
485 ↗ | (On Diff #9714) | Unrelated change? |
lib/Format/Format.cpp | ||
---|---|---|
485 ↗ | (On Diff #9714) | Yes, thanks for noticing! |