[PATCH] D93846: [clang-format] PR16518 Add flag to suppress empty line insertion before access modifier
Albertas Vyšniauskas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 28 09:14:44 PST 2020
thezbyg updated this revision to Diff 313863.
thezbyg added a comment.
Option renamed to EmptyLineBeforeAccessModifier.
Placed new configuration member in correct place alphabetically.
Last token in previous line is no longer checked when EmptyLineBeforeAccessModifier is false.
Executed clang/doc/tools/dump_style.py to update ClangFormatsStyleOptions.rst.
Unit tests added to clang/unittests/Format/FormatTests.cpp.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93846/new/
https://reviews.llvm.org/D93846
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/test/Format/access-modifiers.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93846.313863.patch
Type: text/x-patch
Size: 11787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201228/6af75f8f/attachment.bin>
More information about the cfe-commits
mailing list