[PATCH] D100953: clang-format: [JS] do not wrap after `asserts`
Hana Joo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 21 07:26:23 PDT 2021
h-joo added inline comments.
================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3856
return false; // Otherwise automatic semicolon insertion would trigger.
+ if (NonComment && NonComment->is(tok::identifier) &&
+ NonComment->TokenText == "asserts")
----------------
h-joo wrote:
> Not for this PR : The JS specific part of the code is growing, please consider splitting it
(..into a function)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100953/new/
https://reviews.llvm.org/D100953
More information about the cfe-commits
mailing list