[PATCH] D45004: [clang-format] New style option IndentWrappedObjCMethodNames

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 5 10:20:34 PDT 2018


benhamilton added a comment.

Actually, a slight correction. By default, Xcode has a "Line wrapping" setting under Preferences -> Text editing which says:

  [ X ] Wrap lines to editor width
       Indent wrapped lines by:  [    4 ] Spaces

which suggests people using Xcode may expect indentation on wrapped lines by default.

It also has a "Syntax-aware indenting" feature including "Automatic indent for... :", but the colon indentation only seems to apply for method invocations, not method signatures.


Repository:
  rC Clang

https://reviews.llvm.org/D45004





More information about the cfe-commits mailing list