<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clang parser crashes on invalid input with typo suggestions on assertion "queried property of class with no definition""
   href="https://bugs.llvm.org/show_bug.cgi?id=39311">39311</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang parser crashes on invalid input with typo suggestions on assertion "queried property of class with no definition"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>orivej@gmx.fr
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This invalid input crashes "clang++ -c input.cpp":

     template <T> f() { class ClassA class : ClassB, ClassA

It is necessary for "ClassA" and "ClassB" names to be similar enough to trigger
the typo suggestion and the crash. This affects all versions of Clang, from 
3.7 to trunk (r344434).

This bug is different from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error recovery can trigger Assertion `DefinitionData && "queried property of class with no definition"' (DeclCXX.h:617)"
   href="show_bug.cgi?id=12777">https://bugs.llvm.org/show_bug.cgi?id=12777</a> which is
no longer reproducible.</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>