[PATCH] D76597: [clang-format] Reflow long C# generic type constraints correctly
Jonathan B Coe via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 04:21:02 PDT 2020
jbcoe created this revision.
jbcoe added a reviewer: krasimir.
jbcoe added a project: clang-format.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Align sequential generic type constraints on a type.
Indent sequential generic type constraints on different types as continuations.
Do not allow '(' and '<' within a generic type constraint to open new scopes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76597
Files:
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/ContinuationIndenter.h
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTestCSharp.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76597.251983.patch
Type: text/x-patch
Size: 5555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200323/2f331c91/attachment.bin>
More information about the cfe-commits
mailing list