[clang] [clang-format] Add BreakAfterOpenBracket* and BreakBeforeCloseBracket* (PR #108332)

Gedare Bloom via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 25 13:23:18 PDT 2025


================
@@ -203,19 +203,6 @@ template <> struct MappingTraits<FormatStyle::BraceWrappingFlags> {
   }
 };
 
-template <> struct ScalarEnumerationTraits<FormatStyle::BracketAlignmentStyle> {
----------------
gedare wrote:

Could we make `libFormat` users break somewhere else using something like `assert(Style.AlignAfterOpenBracket != FormatStyle::AlwaysBreak)` (and `BlockIndent`)?

https://github.com/llvm/llvm-project/pull/108332


More information about the cfe-commits mailing list