[PATCH] D139760: Revert "[clang-format] Link the braces of a block in UnwrappedLineParser"

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 17:29:52 PST 2022


owenpan created this revision.
owenpan added reviewers: HazardyKnusperkeks, MyDeveloperDay, rymiel.
owenpan added a project: clang-format.
Herald added a project: All.
owenpan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

But keep the added test case and also add another test case.

Fixes https://github.com/llvm/llvm-project/issues/59417.

This reverts commit e33243c950ac <https://reviews.llvm.org/rGe33243c950ac40d027ad8facbf7ccf0624604a16>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139760

Files:
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/unittests/Format/BracesRemoverTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139760.481802.patch
Type: text/x-patch
Size: 4780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221210/34c10215/attachment.bin>


More information about the cfe-commits mailing list