[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
Mon Jan 4 04:58:16 PST 2021
tinloaf updated this revision to Diff 314361.
tinloaf added a comment.
Address reviewer comments, noteworthy changes:
- Add an option to span alignment only across comments, not across newlines
- Factor out spanning options to `AlignTokens` to an enum
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/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.314361.patch
Type: text/x-patch
Size: 33238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210104/15d4b89a/attachment-0001.bin>
More information about the cfe-commits
mailing list