owenpan added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1628
bool InCSharpAttributeSpecifier = false;
+ bool AssignmentFound = false;
enum {
----------------
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1935-1936
+ }
+ if (Current.getPrecedence() == prec::Assignment)
+ Contexts.back().AssignmentFound = true;
} else if (Current.is(tok::comment)) {
----------------
Can you move them into the `if` statement above?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142891/new/
https://reviews.llvm.org/D142891
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits