<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:Erik.Verbruggen@Me.com" title="Erik Verbruggen <Erik.Verbruggen@Me.com>"> <span class="fn">Erik Verbruggen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Preamble is also generated for the second reparse on Windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=28535">bug 28535</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Preamble is also generated for the second reparse on Windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=28535#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Preamble is also generated for the second reparse on Windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=28535">bug 28535</a>
              from <span class="vcard"><a class="email" href="mailto:Erik.Verbruggen@Me.com" title="Erik Verbruggen <Erik.Verbruggen@Me.com>"> <span class="fn">Erik Verbruggen</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>