[PATCH] D94206: [clang-format] turn on formatting after "clang-format on" while sorting includes

RafaƂ Jelonek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 03:18:33 PST 2021


rjelonek added a comment.

there is no related bug.

About Line.endswith("\\") -> Trimmed.endswith("\\")
When i debugging clang-format, i noticed that "Line.endswith("\\")" never result with true (even if i put \ at the end of line - in my case CRLF). But when i change line ending to LF condition return true.
After work i will merge:

- "MergeLinesWhenCodeContainsLF" and "MergeLinesWhenCodeContainsCRLF"
- "DetectClangFormatOn" to "SupportClangFormatOff"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94206



More information about the cfe-commits mailing list