[all-commits] [llvm/llvm-project] dd6a6b: [clang-format] Reuse AlignTokens for aligning macr...

Björn Schäpers via All-commits all-commits at lists.llvm.org
Sun Oct 19 15:05:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd6a6bac708235fe2ed80670cd873258430264c2
      https://github.com/llvm/llvm-project/commit/dd6a6bac708235fe2ed80670cd873258430264c2
  Author: Björn Schäpers <bjoern at hazardy.de>
  Date:   2025-10-20 (Mon, 20 Oct 2025)

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

  Log Message:
  -----------
  [clang-format] Reuse AlignTokens for aligning macros (#164120)

Fixes #52985.

This leaves aligning short case statements with its own logic. But that
is harder to port, because it aligns even with no content of the right
hand side of the :.



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