[all-commits] [llvm/llvm-project] b87347: [clang-format] Fix mismatched break in BlockIndent...
Gedare Bloom via All-commits
all-commits at lists.llvm.org
Thu Jan 30 19:39:05 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b8734797a3f605c4aaa37fcb5007baa273565460
https://github.com/llvm/llvm-project/commit/b8734797a3f605c4aaa37fcb5007baa273565460
Author: Gedare Bloom <gedare at rtems.org>
Date: 2025-01-30 (Thu, 30 Jan 2025)
Changed paths:
M clang/lib/Format/ContinuationIndenter.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix mismatched break in BlockIndent (#124998)
Near the ColumnLimit a break could be inserted before a right parens
with BlockIndent without a break after the matching left parens. Avoid
these hanging right parens by disallowing breaks before right parens
unless there was a break after the left parens.
Fixes #103306
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list