[PATCH] D17910: clang-format: [JS] Handle certain cases of ASI.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 5 12:57:36 PST 2016
mprobst created this revision.
mprobst added a reviewer: djasper.
mprobst added subscribers: cfe-commits, klimek.
Automatic Semicolon Insertion can only be properly handled by parsing
source code. However conservatively catching just a few, common
situations prevents breaking code during development, which greatly
JS code should still use semicolons, and ASI code should be flagged by
a compiler or linter.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5294 bytes
Desc: not available
More information about the cfe-commits