[PATCH] D54881: [clang-format] Prevent Clang-Format from editing leading whitespace on lines outside of the format range

Russell McClellan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 1 07:58:49 PDT 2019


russellmcc added a comment.

klimek: I'm sorry, I don't fully understand your proposed fix.  Could you explain it in more detail?

Without being able to respond to your proposal in detail, I strongly believe if you pass in a line range to clang-format, it should not change lines outside that range OR we should modify the documentation to clearly explain what the line filter option does.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54881/new/

https://reviews.llvm.org/D54881





More information about the cfe-commits mailing list