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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits