[PATCH] D33714: clang-format: [JS] improve calculateBraceType heuristic
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 31 02:05:28 PDT 2017
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
Apart from fixme LG.
================
Comment at: lib/Format/UnwrappedLineParser.cpp:397
// blocks (for example while parsing lambdas).
+ // TODO(martinprobst): Some of these do not apply to JS, e.g. "} {"
+ // can never be a braced list in JS.
----------------
Here we call them FIXME and put them without a name:
// FIXME: ...
https://reviews.llvm.org/D33714
More information about the cfe-commits
mailing list