[all-commits] [llvm/llvm-project] 6f6f88: [clang-format] Style to separate definition blocks
ksyx via All-commits
all-commits at lists.llvm.org
Mon Jan 3 12:50:08 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f6f88ffdae1e12e5f950ef418827a77a55c09c7
https://github.com/llvm/llvm-project/commit/6f6f88ffdae1e12e5f950ef418827a77a55c09c7
Author: ksyx <18738953+ksyx at users.noreply.github.com>
Date: 2022-01-03 (Mon, 03 Jan 2022)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/CMakeLists.txt
A clang/lib/Format/DefinitionBlockSeparator.cpp
A clang/lib/Format/DefinitionBlockSeparator.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Format/WhitespaceManager.h
M clang/unittests/Format/CMakeLists.txt
A clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
Log Message:
-----------
[clang-format] Style to separate definition blocks
This commit resolves GitHub issue #45895 (Bugzilla #46550), to
add or remove empty line between definition blocks including
namespaces, classes, structs, enums and functions.
Reviewed By: MyDeveloperDay, curdeius, HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D116314
More information about the All-commits
mailing list