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

Ben Hamilton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 08:33:44 PDT 2018


benhamilton marked an inline comment as done.
benhamilton added inline comments.


================
Comment at: include/clang/Format/Format.h:1154-1163
+  /// \brief The style of indenting long function or method names wrapped
+  /// onto the next line.
+  enum IndentWrappedMethodStyle {
+    /// Automatically determine indenting style.
+    IWM_Auto,
+    /// Always indent wrapped method names.
+    IWM_Always,
----------------
stephanemoore wrote:
> Do we explicitly want these to be generic with the intent to later reuse the enum for C++ method wrapping style?
I figured languages like Java and JS might want to customize this.


Repository:
  rC Clang

https://reviews.llvm.org/D45004





More information about the cfe-commits mailing list