[clang] [clang-format] Fix first-line width calculation for CRLF multiline tokens (PR #228752)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 03:56:52 PDT 2026


================
@@ -16681,6 +16681,23 @@ TEST_F(FormatTest, CountsCharactersInMultilineRawStringLiterals) {
                " R\"(single line raw string)\" + bbbbbb);");
 }
 
+TEST_F(FormatTest, MultilineRawStringWidthWithCRLF) {
+  auto Style = getWebKitStyle();
----------------
w1m024 wrote:

> Yes please.

Already done.

https://github.com/llvm/llvm-project/pull/228752


More information about the cfe-commits mailing list