Format @synchronized properly for the Attach brace style by
recognizing @synchronized similar to 'while'. Doing this
triggers the SpaceBeforeParens rule, so fix up existing
tests which assumed the old behaviour.
Depends on D10420.
Differential D10371
clang-format: Support @synchronized. strager on Jun 10 2015, 4:07 PM. Authored by
Details
Diff Detail Event TimelineComment Actions I can't see the changes to tests at the moment. Trying to fix that issue with SVN/Phabricator (it's unrelated to you patch).
Comment Actions I'll remove ObjCSpaceAfterSynchronized from this diff.
|
Can you swap the operand order? I would find that easier to read.