[PATCH] D135466: [clang-format] Add support to remove unnecessary semicolons after function definition

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 8 08:51:29 PDT 2022


MyDeveloperDay updated this revision to Diff 466291.
MyDeveloperDay marked 16 inline comments as done.
MyDeveloperDay added a comment.

- Switch to the looping method and remove the need to change parseBlock (phew!) thanks @owenpan for the guidance
- Add tests for double `;;`
- Change the name to RemoveSemicolon


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

https://reviews.llvm.org/D135466

Files:
  clang/docs/ClangFormatStyleOptions.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Format/Format.h
  clang/lib/Format/Format.cpp
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135466.466291.patch
Type: text/x-patch
Size: 10188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221008/45f59afe/attachment.bin>


More information about the cfe-commits mailing list