ilya-biryukov added a comment. > This is really a corner cases that users might not need to know about. But an > example is: > Code: "#include <a>" (without \n at the end). After inserting <x>, #include > <a>\n#include <x>\n (this is good). However, if you insert another <y>, the > code would become "#include <a>\n#include <x>\n\n#include <y>\n" (note the > double newline!).
Even though that's rare in practice, it seems like an actual bug. How hard would be it be to fix it? Repository: rC Clang https://reviews.llvm.org/D46180 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits