[PATCH] D95168: [clang-format] Add Insert/Remove Braces option

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 13 05:50:40 PST 2021


MyDeveloperDay updated this revision to Diff 387015.
MyDeveloperDay marked an inline comment as done.
MyDeveloperDay edited the summary of this revision.
MyDeveloperDay added a comment.

Add more LLVM rules, and don't remove when there are single or multi lines comments


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

https://reviews.llvm.org/D95168

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/AutomaticBraces.cpp
  clang/lib/Format/AutomaticBraces.h
  clang/lib/Format/CMakeLists.txt
  clang/lib/Format/Format.cpp
  clang/unittests/Format/AutomaticBracesTest.cpp
  clang/unittests/Format/CMakeLists.txt
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95168.387015.patch
Type: text/x-patch
Size: 66993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211113/3d0caedf/attachment-0001.bin>


More information about the cfe-commits mailing list