[PATCH] D140835: [clang-format] Improve UnwrappedLineParser::mightFitOnOneLine()

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 07:13:53 PST 2023


owenpan added a comment.

In D140835#4023080 <https://reviews.llvm.org/D140835#4023080>, @HazardyKnusperkeks wrote:

> On second thought, shouldn't we test for removing the braces?

Hmm. This patch including the added test case //is// for removing braces.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140835/new/

https://reviews.llvm.org/D140835



More information about the cfe-commits mailing list