[PATCH] D20734: [clang-format] insert new #includes into correct blocks when cleaning up Replacement with cleanupAroundReplacements().

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Tue May 31 00:26:06 PDT 2016


djasper added inline comments.

================
Comment at: lib/Format/Format.cpp:1549
@@ -1408,3 +1548,3 @@
   // We need to use lambda function here since there are two versions of
   // `cleanup`.
   auto Cleanup = [](const FormatStyle &Style, StringRef Code,
----------------
So, add a copy constructor to Replacement?


http://reviews.llvm.org/D20734





More information about the cfe-commits mailing list