[all-commits] [llvm/llvm-project] 2853a8: [clang-format] Add option to remove leading blank ...
sstwcw via All-commits
all-commits at lists.llvm.org
Sat Jun 29 18:21:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2853a838d22b69f61ed376abbd9ab5e625111f44
https://github.com/llvm/llvm-project/commit/2853a838d22b69f61ed376abbd9ab5e625111f44
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add option to remove leading blank lines (#91221)
The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.
This patch was initially part of 9267f8f19a2e502e. I neglected to check
the server builds before I added it. It broke clangd. Jie Fu fixed the
problem in 4c91b49bab0728d4. I was unaware of it. I thought the main
branch was still broken. I reverted the first patch in
70cfece24d6cbb57. It broke his fix. He reverted it in
c69ea04fb9738db2. Now the feature is added again including the fix.
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