[all-commits] [llvm/llvm-project] 69e772: [clang-format] Add support to remove unnecessary s...

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Sun Oct 9 03:19:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69e772768e957629d41ed53eaf4dcda96fa9dac7
      https://github.com/llvm/llvm-project/commit/69e772768e957629d41ed53eaf4dcda96fa9dac7
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2022-10-09 (Sun, 09 Oct 2022)

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

  Log Message:
  -----------
  [clang-format] Add support to remove unnecessary semicolons after function definition

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

This change is to remove extraneous and unnecessary ';' from after a function definition, its off by default and carries the same "code modification" warning as some of our other code manipulating changes.

Reviewed By: HazardyKnusperkeks, owenpan

Differential Revision: https://reviews.llvm.org/D135466




More information about the All-commits mailing list