This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Parse volatile as a pointer qualifier
ClosedPublic

Authored by arichardson on Aug 27 2020, 6:41 AM.

Details

Summary

Before: void f() { MACRO(A * volatile a); }
After: void f() { MACRO(A *volatile a); }

Also check that the volatile and volatile__ aliases are handled.

Diff Detail

Event Timeline

arichardson created this revision.Aug 27 2020, 6:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2020, 6:41 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
arichardson requested review of this revision.Aug 27 2020, 6:41 AM
JakeMerdichAMD accepted this revision.Aug 27 2020, 6:57 AM

LGTM. Wait a bit to give others a chance to chime in before submitting.

This revision is now accepted and ready to land.Aug 27 2020, 6:57 AM
This revision was automatically updated to reflect the committed changes.