[PATCH] D116314: [clang-format] Add style to separate definition blocks

ksyx via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 29 15:23:35 PST 2021


ksyx updated this revision to Diff 396574.
ksyx marked 9 inline comments as done.
ksyx edited the summary of this revision.
ksyx added a comment.

- Improve compatibility to other languages
- Improve unit test by test format stability, inverse result, and generate some input from expected output
- Reformat sample code
- Use more concise word for SDS_Leave


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116314/new/

https://reviews.llvm.org/D116314

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/CMakeLists.txt
  clang/lib/Format/DefinitionBlockSeparator.cpp
  clang/lib/Format/DefinitionBlockSeparator.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/WhitespaceManager.cpp
  clang/lib/Format/WhitespaceManager.h
  clang/unittests/Format/CMakeLists.txt
  clang/unittests/Format/DefinitionBlockSeparatorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116314.396574.patch
Type: text/x-patch
Size: 30195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211229/fd974efe/attachment-0001.bin>


More information about the cfe-commits mailing list