[PATCH] D20827: [include-fixer] Use YAML format in -output-headers and -insert-header mode.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 02:33:00 PDT 2016


bkramer added inline comments.

================
Comment at: include-fixer/tool/ClangIncludeFixer.cpp:160
@@ +159,3 @@
+  for (const auto &Header : Context.Headers) {
+    // Escape double quote.
+    if (Header.front() == '"')
----------------
Can you just llvm::yaml::escape the string?


http://reviews.llvm.org/D20827





More information about the cfe-commits mailing list