User Details
User Details
- User Since
- Jan 29 2016, 12:37 AM (464 w, 3 d)
- Availability
- Available
Mar 27 2016
Mar 27 2016
jlebar added a comment to T10239: Ability to pass more info to custom linters.
Modifying clang-format to expose individual messages with distinct patches is the best way forward here.
Jan 29 2016
Jan 29 2016
jlebar added a comment to T10239: Ability to pass more info to custom linters.
Yeah, I checked before writing that last post, and I thought the same thing, but it's not split up the way we want. e.g.
jlebar added a comment to T10239: Ability to pass more info to custom linters.
I think the piece of information that differs between your model and the actual behavior of arc is that the linter does not (and must not) emit three separate corrections to fix foo(a, b, ...) one line at a time. It should emit a single correction for the entire block.
jlebar added a comment to T10239: Ability to pass more info to custom linters.
I haven't tried to write this rule, and you've almost convinced me to try, but -- forgive me -- I don't quite believe it's possible to do this correctly (or, as correctly as clang-format) in the context of formatting C++.
jlebar added a comment to T10239: Ability to pass more info to custom linters.
Thank you for your quick response.