<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - this pointer isn't qualified within decltype() when used in member function declaration with late specified return type"
   href="http://llvm.org/bugs/show_bug.cgi?id=16243">bug 16243</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>REOPENED
           </td>
           <td>RESOLVED
           </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 - this pointer isn't qualified within decltype() when used in member function declaration with late specified return type"
   href="http://llvm.org/bugs/show_bug.cgi?id=16243#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - this pointer isn't qualified within decltype() when used in member function declaration with late specified return type"
   href="http://llvm.org/bugs/show_bug.cgi?id=16243">bug 16243</a>
              from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=16243#c2">comment #2</a>)
<span class="quote">> Thanks for the quick fix!

> unfortunately with this version I hit an assert:
> clang-3.4: /home/mitch/src/llvm/tools/clang/lib/Sema/SemaTemplate.cpp:260:
> void clang::Sema::LookupTemplateName(clang::LookupResult&, clang::Scope*,
> clang::CXXScopeSpec&, clang::QualType, bool, bool&): Assertion `(isDependent
> || !ObjectType->isIncompleteType()) && "Caller should have completed object
> type"' failed.                                      

> [I'll attach the full trace in a moment]

> I'll try to create a small test program that triggers this assert and attach
> it to this ticket later (today or tomorrow)</span >

I've reduced your testcase and filed <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Using wrong compiler when linking Lsan-x86_64-Test (and maybe elsewhere)"
   href="show_bug.cgi?id=16272">bug 16272</a> for this.</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>