[all-commits] [llvm/llvm-project] d50ebd: [clang-format] Add style option `PenaltyBreakBefor...
Gedare Bloom via All-commits
all-commits at lists.llvm.org
Mon Jan 27 21:40:38 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d50ebd47ae57812e5d2db1e3d3157f26b8d9d159
https://github.com/llvm/llvm-project/commit/d50ebd47ae57812e5d2db1e3d3157f26b8d9d159
Author: Gedare Bloom <gedare at rtems.org>
Date: 2025-01-27 (Mon, 27 Jan 2025)
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/TokenAnnotator.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add style option `PenaltyBreakBeforeMemberAccess` (#118409)
The penalty for breaking before a member access is hard-coded to 150.
Add a configuration option to allow setting it.
---------
Co-authored-by: Owen Pan <owenpiano at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list