[PATCH] D87587: [clang-format][PR47290] Add MaxUnwrappedLinesForShortNamespace format option
Krystian Kuzniarek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 19 08:17:15 PST 2020
kuzkry updated this revision to Diff 312940.
kuzkry retitled this revision from "[clang-format][PR47290] Make one-line namespaces resistant to FixNamespaceComments, update documentation" to "[clang-format][PR47290] Add MaxUnwrappedLinesForShortNamespace format option".
kuzkry edited the summary of this revision.
kuzkry added a comment.
As proposed by @MyDeveloperDay, I added MaxUnwrappedLinesForShortNamespace option to control behaviour of FixNamespaceComments. This time I'm providing you with a full diff.
Btw. sorry for taking so long.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87587/new/
https://reviews.llvm.org/D87587
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Format/Format.h
clang/lib/Format/Format.cpp
clang/lib/Format/NamespaceEndCommentsFixer.cpp
clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87587.312940.patch
Type: text/x-patch
Size: 11104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201219/b7a37b75/attachment-0001.bin>
More information about the cfe-commits
mailing list