owenpan added inline comments.
================ Comment at: clang/lib/Format/TokenAnnotator.cpp:2484-2490 + if (Next->Next && Next->Next->is(tok::identifier)) { + const FormatToken *Last = Line.Last; + if (Last && Last->is(tok::comment)) + Last = Last->getPreviousNonComment(); + if (Last && Last->isNot(tok::semi)) + return true; + } ---------------- if (Next->Next && Next->Next->is(tok::identifier) && !Line.endsWith(tok::semi)) return true; Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107907/new/ https://reviews.llvm.org/D107907 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits