This is an archive of the discontinued LLVM Phabricator instance.

Revert "[clang-format] Fix putting ObjC message arguments in one line for multiline receiver"
ClosedPublic

Authored by jolesiak on May 30 2018, 3:10 AM.

Details

Summary

This reverts commit db9e5e9a616d7fdd4d1ba4c3b2cd89d8a0238533 (rC333171).

Mentioned change introduced unintended formatting of ObjC code due to split priorities inherited from C/C++, e.g.:

fooooooo = [
    [obj fooo] aaa:42 aaa:42];

instead of

fooooooo =
    [[obj fooo] aaa:42
                aaa:42];

when formatted with ColumnLimit = 30.

Diff Detail

Repository
rC Clang

Event Timeline

jolesiak created this revision.May 30 2018, 3:10 AM
jolesiak edited the summary of this revision. (Show Details)May 30 2018, 3:36 AM
jolesiak edited the summary of this revision. (Show Details)May 30 2018, 3:41 AM
jolesiak added a reviewer: krasimir.
jolesiak added a subscriber: benhamilton.
krasimir accepted this revision.May 30 2018, 5:22 AM
This revision is now accepted and ready to land.May 30 2018, 5:22 AM
This revision was automatically updated to reflect the committed changes.