[PATCH] D148473: [clang-format] C# short ternary operator misinterpreted as a CSharpNullable

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 17 15:48:33 PDT 2023


owenpan accepted this revision.
owenpan added inline comments.


================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:1730
+
+  auto Tokens = annotate("int? a;\n", Style);
+  EXPECT_EQ(Tokens.size(), 5u) << Tokens;
----------------
Nit: no trailing newlines here and below.


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

https://reviews.llvm.org/D148473



More information about the cfe-commits mailing list