[PATCH] D154091: [clang-format] Recognize escape sequences when breaking strings

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 3 22:49:55 PDT 2023


MyDeveloperDay added a comment.

What would happen in a \r\n example



================
Comment at: clang/lib/Format/BreakableToken.cpp:207
+      case 't':
+      case 'v':
+        AfterSpace = SplitPoint + 2;
----------------
Are you testing \r \v \f


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154091



More information about the cfe-commits mailing list