[PATCH] D24322: clang-format: [JavaScript] Do requoting in a separate pass

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 7 15:43:22 PDT 2016


mprobst added inline comments.

================
Comment at: lib/Format/Format.cpp:1707
@@ +1706,3 @@
+      if (NewCode) {
+        auto NewEnv = Environment::CreateVirtualEnvironment(
+            *NewCode, FileName,
----------------
I guess we don't worry about the performance consequences here?


https://reviews.llvm.org/D24322





More information about the cfe-commits mailing list