[PATCH] D93986: [clang-format] Add the possibility to align assignments spanning empty lines or comments

Lukas Barth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 10 07:10:11 PST 2021


tinloaf updated this revision to Diff 315664.
tinloaf marked an inline comment as done.
tinloaf added a comment.

- Unify the type of the options for `AlignConsecutive`{`BitFields`, `Declarations`, `Assignments`, `Macros`}
- Implement across-alignment for bit fields, declarations, assignments and macros
- Add tests for across-alignment for bit fields, declarations, assignments and macros
- Add changelog entry


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93986

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/WhitespaceManager.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93986.315664.patch
Type: text/x-patch
Size: 60337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210110/918159a2/attachment-0001.bin>


More information about the cfe-commits mailing list