[PATCH] clang-format: [js] Support ES6 module imports.

Martin Probst martinprobst at google.com
Thu Feb 19 05:09:13 PST 2015


================
Comment at: lib/Format/TokenAnnotator.cpp:1920
@@ -1916,1 +1919,3 @@
 
+  if ((Style.Language == FormatStyle::LK_Java ||
+       Style.Language == FormatStyle::LK_JavaScript) &&
----------------
NB: This is a refactoring that I missed adding to the last patch.

http://reviews.llvm.org/D7753

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list