Before:
x = (foo *ptr32) * v;
MACRO(A * ptr32 a);
x = (foo *ptr64) * v;
MACRO(A * ptr64 a);
After:
x = (foo *ptr32)*v;
MACRO(A *ptr32 a);
x = (foo *ptr64)*v;
MACRO(A *ptr64 a);
Depends on D86721 (to apply cleanly)
Paths
| Differential D86775
[clang-format] Parse __ptr32/__ptr64 as a pointer qualifier ClosedPublic Authored by arichardson on Aug 28 2020, 4:36 AM.
Details Summary Before: After: Depends on D86721 (to apply cleanly)
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 4 2020, 7:53 AM Closed by commit rG8c810acc94ed: [clang-format] Parse __ptr32/__ptr64 as a pointer qualifier (authored by arichardson). · Explain WhySep 4 2020, 8:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 289120 clang/lib/Format/FormatToken.h
clang/unittests/Format/FormatTest.cpp
|