curdeius accepted this revision. curdeius added a comment. LGTM!
================ Comment at: clang/lib/Format/Format.cpp:1850 + for (FormatToken *Token = Line->First; Token; Token = Token->Next) { + if (Token->Finalized || Token->BraceCount == 0) + continue; ---------------- I think that we can skip the whole line if the first token on line is finalized. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120217/new/ https://reviews.llvm.org/D120217 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits