[all-commits] [llvm/llvm-project] 6c4f96: [clang-format] Fix brace wrapping for Java records...

Hannes Braun via All-commits all-commits at lists.llvm.org
Wed Nov 5 11:55:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c4f9688082361a5c5d57aa1e6d368dfc4aeea75
      https://github.com/llvm/llvm-project/commit/6c4f9688082361a5c5d57aa1e6d368dfc4aeea75
  Author: Hannes Braun <hannes at hannesbraun.net>
  Date:   2025-11-05 (Wed, 05 Nov 2025)

  Changed paths:
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTestJava.cpp

  Log Message:
  -----------
  [clang-format] Fix brace wrapping for Java records (#164711)

The brace wrapping for Java records should now behave similar to
classes. Before, opening braces for Java records were always placed in
the same line as the record definition.



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