<html>
    <head>
      <base href="http://bugs.llvm.org/">
    </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_CLOSED  bz_closed"
   title="CLOSED INVALID - Clang doesn't align with MSVC/GCC behaviour for an ambiguous method call"
   href="http://bugs.llvm.org/show_bug.cgi?id=32073">bug 32073</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;">Resolution</td>
           <td>WONTFIX
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>CLOSED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED INVALID - Clang doesn't align with MSVC/GCC behaviour for an ambiguous method call"
   href="http://bugs.llvm.org/show_bug.cgi?id=32073#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_CLOSED  bz_closed"
   title="CLOSED INVALID - Clang doesn't align with MSVC/GCC behaviour for an ambiguous method call"
   href="http://bugs.llvm.org/show_bug.cgi?id=32073">bug 32073</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>Thanks for filing this!

(In reply to Hugh Bellamy from <a href="show_bug.cgi?id=32073#c4">comment #4</a>)
<span class="quote">> Is this related to
> <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#903">http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#903</a>
> ("Value-dependent integral null pointer constants")</span >

Yes, it's exactly that.

<span class="quote">> Odd, considering GCC *can* disambiguate this [...]</span >

Wild guess: GCC is folding the cast of the integer literal into a 0U literal
while parsing, so it can't tell that there was a cast.</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>