This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Fix regression in parsing pointers to arrays.
ClosedPublic

Authored by curdeius on Jan 25 2022, 12:40 AM.

Details

Summary

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 (*)[]>{};

Diff Detail

Event Timeline

curdeius requested review of this revision.Jan 25 2022, 12:40 AM
curdeius created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2022, 12:40 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MyDeveloperDay accepted this revision.Jan 25 2022, 1:40 AM
This revision is now accepted and ready to land.Jan 25 2022, 1:40 AM
owenpan accepted this revision.Jan 25 2022, 2:05 AM
This revision was landed with ongoing or failed builds.Jan 26 2022, 12:27 AM
This revision was automatically updated to reflect the committed changes.