[all-commits] [llvm/llvm-project] c12aa6: [clang-format] Add BracedInitializerIndentWidth op...

Jon Phillips via All-commits all-commits at lists.llvm.org
Sat Apr 29 00:36:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c12aa69a0be9acd0c751bf92318050d2b3730f9b
      https://github.com/llvm/llvm-project/commit/c12aa69a0be9acd0c751bf92318050d2b3730f9b
  Author: Jon Phillips <jonap2811 at gmail.com>
  Date:   2023-04-29 (Sat, 29 Apr 2023)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/docs/tools/dump_format_style.py
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add BracedInitializerIndentWidth option

The option allows users to specify how many columns to use to indent
the contents of initializer lists.

Closes #51070.

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




More information about the All-commits mailing list