[clang-format] Fix align consecutive declarations over function pointers
authorGedare Bloom <gedare@rtems.org>
Thu, 6 Jul 2023 09:13:22 +0000 (02:13 -0700)
committerOwen Pan <owenpiano@gmail.com>
Thu, 6 Jul 2023 09:17:32 +0000 (02:17 -0700)
commita84e0b4bdc9999872adbdaafbade8164b197784b
tree7724b50c542c6227a3355bb7e90438df485bf5ad
parent38a7ef7f64b0f23aea460952647dcb7d822e8cf1
[clang-format] Fix align consecutive declarations over function pointers

Fixes a bug that prevents alignment from proceeding through a function
pointer in a list of declarations.

Fixes #63451.

Differential Revision: https://reviews.llvm.org/D153585
clang/lib/Format/WhitespaceManager.cpp
clang/unittests/Format/FormatTest.cpp