[all-commits] [llvm/llvm-project] 72e29c: [clang-format] Fix regression in parsing pointers ...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Wed Jan 26 00:27:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72e29caf039fd81bc6948e16d6f71d1581615469
https://github.com/llvm/llvm-project/commit/72e29caf039fd81bc6948e16d6f71d1581615469
Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
Date: 2022-01-26 (Wed, 26 Jan 2022)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix regression in parsing pointers to arrays.
Fixes https://github.com/llvm/llvm-project/issues/53293.
After commit 5c2e7c9, the code:
```
template <> struct S : Template<int (*)[]> {};
```
was misformatted as:
```
template <> struct S : Template<int (*)[]>{};
```
Reviewed By: MyDeveloperDay, HazardyKnusperkeks, owenpan
Differential Revision: https://reviews.llvm.org/D118106
More information about the All-commits
mailing list