[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


================
@@ -1205,14 +1206,23 @@ static size_t countLeadingWhitespace(StringRef Text) {
   while (Cur < End) {
     if (isspace(Cur[0])) {
----------------
owenca wrote:

```suggestion
    if (isWhitespace(Cur[0])) {
```

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


More information about the cfe-commits mailing list