[clang] [clang-format] Handle Trailing Whitespace After Line Continuation (P2223R2) (PR #145243)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 23 22:08:27 PDT 2025


================
@@ -1025,6 +1025,9 @@ clang-format
   ``enum`` enumerator lists.
 - Add ``OneLineFormatOffRegex`` option for turning formatting off for one line.
 - Add ``SpaceAfterOperatorKeyword`` option.
+- Support trailing whitespace in line splicing.
+  (P2223R2 <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2223r2.pdf>_, #GH145226)
+
----------------
owenca wrote:

Usually, we update the release notes for new top-level options only. I'd leave this file unchanged.

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


More information about the cfe-commits mailing list