https://bugs.llvm.org/show_bug.cgi?id=28535
Erik Verbruggen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Erik Verbruggen <[email protected]> ---
In the example program, the ifstream is not in binary mode. So, it will convert
\r\n to \n. So, when the preambles are compared for the unchanged case (where
the file comes from disk and contains \r\n line terminators) and the case with
unsaved files, they are of a different size because of the missing \r's. So
clang will re-generate the preamble.
So, it's not really a bug.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs