[PATCH] D33640: clang-format: [JS] fix indenting bound functions.

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 29 00:43:56 PDT 2017


djasper accepted this revision.
djasper added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/Format/ContinuationIndenter.cpp:210
       // FIXME: We should find a more generic solution to this problem.
-      !(State.Column <= NewLineColumn && Previous.isNot(tok::r_paren) &&
+      !(State.Column <= NewLineColumn && // Current.TokenText == "bind" &&
         Style.Language == FormatStyle::LK_JavaScript))
----------------
Delete?


https://reviews.llvm.org/D33640





More information about the cfe-commits mailing list