[all-commits] [llvm/llvm-project] 3d9944: [clang-format] Fix a bug in `DerivePointerAlignmen...

Owen Pan via All-commits all-commits at lists.llvm.org
Mon Jul 28 00:44:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d994468098027f9cf550c78a1c91bb266040f61
      https://github.com/llvm/llvm-project/commit/3d994468098027f9cf550c78a1c91bb266040f61
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

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

  Log Message:
  -----------
  [clang-format] Fix a bug in `DerivePointerAlignment: true` (#150744)

This effectively reverts a4d4859dc70c046ad928805ddeaf8fa101793394 which
didn't fix the problem that `int*,` was not counted as "Left" alignment.

Fixes #150327



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