Page MenuHomePhabricator

[clang-format] [PR52015] clang-format should put __attribute__((foo)) on its own line before @interface / @implementation / @protocol

Authored by MyDeveloperDay on Oct 18 2021, 1:06 AM.



A newline should be place between attribute and @ for objectivec

@interface Foo

at present it formats as

__attribute__((objc_subclassing_restricted))   @interface Foo

Diff Detail

Event Timeline

MyDeveloperDay requested review of this revision.Oct 18 2021, 1:06 AM
MyDeveloperDay created this revision.
This revision is now accepted and ready to land.Oct 18 2021, 2:11 AM
benhamilton accepted this revision.Oct 18 2021, 9:33 AM

Thank you!