[all-commits] [llvm/llvm-project] be11e2: [clang-format] Fix nested parsing of AlignAfterOpe...

Gedare Bloom via All-commits all-commits at lists.llvm.org
Fri May 1 12:37:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be11e2b3d25b31dfe29c5ba00a5d76b35915bf26
      https://github.com/llvm/llvm-project/commit/be11e2b3d25b31dfe29c5ba00a5d76b35915bf26
  Author: Gedare Bloom <gedare at rtems.org>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/ConfigParseTest.cpp

  Log Message:
  -----------
  [clang-format] Fix nested parsing of AlignAfterOpenBracket (#192283)

When parsing AlignAfterOpenBracket a default backward compatibility
option is always used even if an inherited style option was set. Avoid
using the default setting unless one of the backward compatible enum
type options is found.

Fixes #183845
Fixes #190758



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