[all-commits] [llvm/llvm-project] 673c5b: [clang-format] Adds a formatter for aligning array...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Sun Jun 13 12:14:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 673c5ba58497298a684f8b8dfddbfb11cd89950e
      https://github.com/llvm/llvm-project/commit/673c5ba58497298a684f8b8dfddbfb11cd89950e
  Author: Fred Grim <fgrim at apple.com>
  Date:   2021-06-13 (Sun, 13 Jun 2021)

  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/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/WhitespaceManager.cpp
    M clang/lib/Format/WhitespaceManager.h
    A clang/test/Format/struct-array-initializer.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Adds a formatter for aligning arrays of structs

This adds a new formatter to arrange array of struct initializers into
neat columns.

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




More information about the All-commits mailing list