[clang] [clang-format] Add AlignAfterOpenBracketOptions (PR #108332)
Gedare Bloom via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 14:40:40 PST 2025
================
@@ -1452,6 +1476,7 @@ FormatStyle getLLVMStyle(FormatStyle::LanguageKind Language) {
FormatStyle LLVMStyle;
LLVMStyle.AccessModifierOffset = -2;
LLVMStyle.AlignAfterOpenBracket = FormatStyle::BAS_Align;
+ LLVMStyle.AlignAfterOpenBracketBreak = {};
----------------
gedare wrote:
Ok yes, now it is explicitly initialized. This isn't a functional change since the `FormatStyle::AlignAfterOpenBracketCustom() == {false, false, false} == {}` but I suppose it makes more sense to be clear.
https://github.com/llvm/llvm-project/pull/108332
More information about the cfe-commits
mailing list