[PATCH] D75368: [clang-format] Handle ?. ?? and ?[ as C# tokens

Jonathan B Coe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 18:12:58 PST 2020


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

Fix failing test by parsing tokens after '?[' in the same way as tokens after '['.


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

https://reviews.llvm.org/D75368

Files:
  clang/include/clang/Basic/TokenKinds.def
  clang/lib/Format/FormatToken.h
  clang/lib/Format/FormatTokenLexer.cpp
  clang/lib/Format/FormatTokenLexer.h
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/FormatTestCSharp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75368.247399.patch
Type: text/x-patch
Size: 8234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200229/b8a1cb91/attachment.bin>


More information about the cfe-commits mailing list