[clang] [clang-format] Add BreakAfterOpenBracket* and BreakBeforeCloseBracket* (PR #108332)
Gedare Bloom via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 4 13:56:11 PDT 2025
================
@@ -958,9 +958,13 @@ template <> struct MappingTraits<FormatStyle> {
// For backward compatibility.
BracketAlignmentStyle LocalBAS = BAS_Align;
if (IsGoogleOrChromium) {
- if (Style.Language == FormatStyle::LK_JavaScript) {
+ FormatStyle::LanguageKind Language =
----------------
gedare wrote:
That's a good point. I think it has to be `Style.Language == LK_JavaScript || (Style.Language == LK_None && Language == LK_JavaScript)` to handle that situation.
https://github.com/llvm/llvm-project/pull/108332
More information about the cfe-commits
mailing list