This revision was automatically updated to reflect the committed changes.
Closed by commit rGfe61bc1a0b5a: [clang-format] Improve identification of C#
nullables (authored by Jonathan Coe ).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.o
jbcoe updated this revision to Diff 248232.
jbcoe marked an inline comment as done.
jbcoe added a comment.
Remove duplicate check following review comment.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75606/new/
https://reviews.llvm.org/D75606
Files:
clang/lib/Format/TokenAnnotator.
krasimir accepted this revision.
krasimir added a comment.
This revision is now accepted and ready to land.
Looks good with 1 suggestion.
Comment at: clang/lib/Format/TokenAnnotator.cpp:1018
+ (Tok->Next && Tok->Next->is(tok::identifier) && Tok->Next->Next &&
+
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.
Consider `? identifier =` and `? identifier;` to be nullable within function
bodies.
Repository:
rG LLVM Github Monorepo