[PATCH] D99503: [clang-format] Inconsistent behavior regarding line break before access modifier
Max Sagebaum via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 16 00:41:59 PDT 2021
Max_S updated this revision to Diff 338011.
Max_S added a comment.
Sorry for the inconvenience. These were the errors, that inspired this patch.
In all cases the new version is now the correct one. The default setting of EmptyLineBeforeAccessModifier is to insert empty lines for logical blocks, which it does now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99503/new/
https://reviews.llvm.org/D99503
Files:
clang/docs/ReleaseNotes.rst
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99503.338011.patch
Type: text/x-patch
Size: 4850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210416/0b7ee99e/attachment.bin>
More information about the cfe-commits
mailing list