[PATCH] D48352: [clang-format] Improve ObjC method expressions formatting

Jacek Olesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 20 02:28:46 PDT 2018


jolesiak created this revision.
Herald added a subscriber: cfe-commits.

1. Fix counting parameters/arguments for ObjC.
2. Fix split priorities for ObjC methods.
3. Fix breaking after square bracket starting ObjC method expression.
4. Fix putting ObjC method arguments into one line when they fit.


Repository:
  rC Clang

https://reviews.llvm.org/D48352

Files:
  lib/Format/ContinuationIndenter.cpp
  lib/Format/FormatToken.h
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTestObjC.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48352.152041.patch
Type: text/x-patch
Size: 10015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180620/f6f8bb13/attachment.bin>


More information about the cfe-commits mailing list