<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::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed."
   href="https://bugs.llvm.org/show_bug.cgi?id=35334">35334</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed.
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>stephan.bergmann.secondary@googlemail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>Kaelyn.Alexi@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With recent Clang trunk (towards 6.0, with assertions enabled):

<span class="quote">> $ cat test.cc
> template<typename> class C;
> template<typename T> T C<T>::f(T x) { return x; }</span >

<span class="quote">> $ clang-6.0 -cc1 -fsyntax-only test.cc
> test.cc:2:30: error: out-of-line definition of 'f' from class 'C<type-parameter-0-0>' without definition
> template<typename T> T C<T>::f(T x) { return x; }
>                        ~~~~~~^
> clang-6.0: clang/lib/Sema/Sema.cpp:362: clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed.</span >

There is some other open bugs regarding that assertion (<a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - clang::Sema::~Sema(): Assertion `DelayedTypos.empty() && "Uncorrected typos!"' failed."
   href="show_bug.cgi?id=21905">bug 21905</a>, <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion failed: (DelayedTypos.empty() && "Uncorrected typos!"), function ~Sema"
   href="show_bug.cgi?id=22938">bug 22938</a>,
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion failure (DelayedTypos.empty() && "Uncorrected typos!") in case of multiple typos in expression"
   href="show_bug.cgi?id=34507">bug 34507</a>), I'm not sure this is a duplicate of any of those.  Applying Diff
114022 from <<a href="https://reviews.llvm.org/D37521">https://reviews.llvm.org/D37521</a>> linked from <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Assertion failure (DelayedTypos.empty() && "Uncorrected typos!") in case of multiple typos in expression"
   href="show_bug.cgi?id=34507">bug 34507</a> does not
help here.</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>