[all-commits] [llvm/llvm-project] 69209e: [clang-format] AllowShortCompoundRequirementOnASin...

Zhikai Zeng via All-commits all-commits at lists.llvm.org
Wed Oct 25 05:17:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69209e30a7168b0493d8fb34989ddccd8c574670
      https://github.com/llvm/llvm-project/commit/69209e30a7168b0493d8fb34989ddccd8c574670
  Author: Backl1ght <backlight.zzk at gmail.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

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

  Log Message:
  -----------
  [clang-format] AllowShortCompoundRequirementOnASingleLine

clang-format brace wrapping did not take requires into consideration,
compound requirements will be affected by BraceWrapping.AfterFunction.

Closes #59412.

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




More information about the All-commits mailing list