<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Parser crash on typo-corrected code"
   href="http://llvm.org/bugs/show_bug.cgi?id=22672">bug 22672</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;">CC</td>
           <td>
                
           </td>
           <td>nlewycky@google.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Parser crash on typo-corrected code"
   href="http://llvm.org/bugs/show_bug.cgi?id=22672#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Parser crash on typo-corrected code"
   href="http://llvm.org/bugs/show_bug.cgi?id=22672">bug 22672</a>
              from <span class="vcard"><a class="email" href="mailto:nlewycky@google.com" title="Nick Lewycky <nlewycky@google.com>"> <span class="fn">Nick Lewycky</span></a>
</span></b>
        <pre>r223108 was right after we switched on a new way of dealing with typos and
before we fixed all the crashes in it (around the r224xxx series). Please
update your clang.

With r230303 I get no crash, and see this:

pr22672.cc:14:3: error: use of undeclared identifier 'myfield_'; did you mean
'myfield'?
  myfield_->foo();
  ^~~~~~~~
  myfield
pr22672.cc:9:12: note: 'myfield' declared here
  MyClass* myfield() const;
           ^
pr22672.cc:14:3: error: reference to non-static member function must be called;
did you mean to call it with no arguments?
  myfield_->foo();
  ^~~~~~~~
          ()
pr22672.cc:15:11: error: use of undeclared identifier 'myfield_'
  int x = myfield_->bar();
          ^
3 errors generated.</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>