[PATCH] D20198: clang-format: [JS] sort ES6 imports.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Wed May 18 08:52:02 PDT 2016


mprobst marked 4 inline comments as done.

================
Comment at: lib/Format/SortJavaScriptImports.cpp:216-217
@@ +215,4 @@
+        break;
+      Current = Line->First;
+      LineEnd = Line->Last;
+      skipComments();
----------------
klimek wrote:
> Both of these are used only once, perhaps inline?
These are setting fields for the parse state (note: this is not a variable declaration).


http://reviews.llvm.org/D20198





More information about the cfe-commits mailing list