[all-commits] [llvm/llvm-project] 0ac35e: [clang-format] Fix breaking enum braces when combi...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Sat Mar 28 08:56:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ac35ecc0bdd8c3f87f0ecdfe862e3eaf8922444
      https://github.com/llvm/llvm-project/commit/0ac35ecc0bdd8c3f87f0ecdfe862e3eaf8922444
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2026-03-28 (Sat, 28 Mar 2026)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix breaking enum braces when combined with export (#189128)

This fixes #186684.

Also fix (not) breaking variables declared on the same line as the
closing brace.

And adapt whitesmith to that changes.



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