[PATCH] D76367: [clang-format] Handle C# generic type constraints

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 19 05:21:55 PDT 2020


jbcoe updated this revision to Diff 251349.
jbcoe added a comment.

Address review comments to move deleted test and remove redundant code.

Redundant call to `parseCSharpGenericTypeConstraint` was used for free functions which are not legal in C#.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76367/new/

https://reviews.llvm.org/D76367

Files:
  clang/lib/Format/FormatToken.h
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineFormatter.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.h
  clang/unittests/Format/FormatTestCSharp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76367.251349.patch
Type: text/x-patch
Size: 7168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200319/4f77a108/attachment-0001.bin>


More information about the cfe-commits mailing list