sstwcw added inline comments.
================ Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:714 // are in a control flow statements as well as several style flags. - if (Line.First->is(tok::kw_case) || + if (Line.First->is(tok::kw_case) || Line.Last->is(TT_GotoLabelColon) || + Line.Last->endsSequence(tok::l_brace, TT_GotoLabelColon) || ---------------- Should I make this change? Without it: ``` label: { break; } ``` With it: ``` label: { break; } ``` Without the entire patch: ``` label : { break; } ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148484/new/ https://reviews.llvm.org/D148484 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits