[PATCH] D116314: [Clangfmt] Add style to separate definition blocks

ksyx via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 27 09:19:30 PST 2021


ksyx created this revision.
ksyx added a reviewer: MyDeveloperDay.
ksyx added projects: clang-format, clang.
ksyx requested review of this revision.
Herald added a subscriber: cfe-commits.

This commit resolves GitHub issue #45895 <https://github.com/llvm/llvm-project/issues/45895> (Bugzilla #46550 <https://llvm.org/bz46550>), to add empty line between definition blocks including namespace, class, and struct.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116314

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116314.396318.patch
Type: text/x-patch
Size: 9834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211227/09ed6853/attachment.bin>


More information about the cfe-commits mailing list