[PATCH] D143178: Add new clang-format alignment option
Philip Herron via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 2 06:39:40 PST 2023
philbert created this revision.
philbert added reviewers: MyDeveloperDay, owenpan.
Herald added a project: All.
philbert requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
I work on a code base that aligns all declarations execpt parameters to
functions. This patch adds a new option to AlignConsecutiveDeclarations.
TODO I need to add unit-tests for this option but this would be really useful for me
but given its a new option I have not done this yet just to get feedback whether this
option would get accepted or not.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143178
Files:
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/WhitespaceManager.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143178.494288.patch
Type: text/x-patch
Size: 5394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230202/fba25457/attachment-0001.bin>
More information about the cfe-commits
mailing list