HomePhabricator

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

Description

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

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.

Reviewers: krasimir

Reviewed By: krasimir

Subscribers: benhamilton, klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D47527