[PATCH] D151047: [clang-format] Fix indentation for selective formatting.

Sedenion via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 08:37:26 PDT 2023


Sedeniono updated this revision to Diff 539583.
Sedeniono added a comment.

@owenpan Oh wow, you are right. Phabricator shows that there are two separate commits, under "Revision Contents" > "Commits", and their commit messages. But apparently there is no way to download some proper *.patch file that contains the meta data, only the total diff.

So, I uploaded a new diff here (D151047 <https://reviews.llvm.org/D151047>): It contains the bugfix. I will also edit the summary at the top with the corresponding commit message.

I have submitted the refactoring commit separately here: https://reviews.llvm.org/D155094

Note that both patches (D151047 <https://reviews.llvm.org/D151047> and D155094 <https://reviews.llvm.org/D155094>) are fortunately independent of each other. I checked that both can be applied to the latest main branch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151047

Files:
  clang/lib/Format/UnwrappedLineFormatter.cpp
  clang/unittests/Format/FormatTestSelective.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151047.539583.patch
Type: text/x-patch
Size: 4564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230712/4d3bca22/attachment.bin>


More information about the cfe-commits mailing list