Fixes a bug with the handling of right aligned references with left/middle alignment pointers.
Addresses Issue #63452.
Paths
| Differential D153579
[clang-format] Fix RAS reference alignment when PAS is left or middle ClosedPublic Authored by gedare on Jun 22 2023, 12:12 PM.
Details Summary Fixes a bug with the handling of right aligned references with left/middle alignment pointers. Addresses Issue #63452.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJun 22 2023, 12:12 PM Herald added reviewers: rymiel, HazardyKnusperkeks, owenpan, MyDeveloperDay. · View Herald Transcript gedare retitled this revision from [clang-format] Align consecutive function pointers and references to [clang-format] Fix RAS reference alignment when PAS is left or middle.Jun 22 2023, 1:06 PM Comment Actions
yes, done, will stage the other review soon. The function pointer alignment requires this fix for the formatting to be correct inside of the nested scope of the function pointer parameters. This revision is now accepted and ready to land.Jun 24 2023, 3:43 AM gedare marked 2 inline comments as done. This revision is now accepted and ready to land.Jul 5 2023, 12:42 PM Closed by commit rG6b8a9ff7e74f: [clang-format] Fix RAS reference alignment when PAS is left or middle (authored by gedare, committed by owenpan). · Explain WhyJul 6 2023, 1:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537623 clang/lib/Format/WhitespaceManager.cpp
clang/unittests/Format/FormatTest.cpp
|
See below.