[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 03:09:28 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() == '"')
----------------
I think we should do the escaping always and not just when the first character is a quote.


http://reviews.llvm.org/D20827





More information about the cfe-commits mailing list