Before: void f() { MACRO(A * restrict a); }
After: void f() { MACRO(A *restrict a); }
Also check that the restrict and restrict__ aliases are handled.
Differential D86710
[clang-format] Parse restrict as a pointer qualifier arichardson on Aug 27 2020, 6:46 AM. Authored by
Details Before: void f() { MACRO(A * restrict a); } Also check that the restrict and restrict__ aliases are handled.
Diff Detail
Event TimelineComment Actions LGTM, assuming tests pass (automated checks failed to resolve your patch since you based it off of your other one). Looks like enabling C99 should have no other effects, right? Comment Actions Tests are passing locally. Looking at TokenKinds.def it seems the only thing setting C99 enables is restrict and inline (but we already get that via C++). |