[PATCH] D136437: [clang-format] Insert closing braces after an unaffected line

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 22 13:29:53 PDT 2022


owenpan added a comment.

In D136437#3874832 <https://reviews.llvm.org/D136437#3874832>, @MyDeveloperDay wrote:

> Does this need a unit test? or are we good?

I will add the tests from https://github.com/llvm/llvm-project/issues/58161 in another patch after moving InsertBraces tests out of FormatTest.cpp, which doesn't support line range tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136437



More information about the cfe-commits mailing list