[PATCH] D121906: [clang-format] Indent import statements in JavaScript.
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 18 04:20:07 PDT 2022
MyDeveloperDay added inline comments.
================
Comment at: clang/lib/Format/ContinuationIndenter.cpp:631
+ Style.IndentPPDirectives == FormatStyle::PPDIS_AfterHash &&
Previous.is(tok::hash) && State.FirstIndent > 0 &&
(State.Line->Type == LT_PreprocessorDirective ||
----------------
can I check? is this case really firing? i mean isn't it
`# import`
why would javascript be seeing that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121906/new/
https://reviews.llvm.org/D121906
More information about the cfe-commits
mailing list