<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:popizdeh@gmail.com" title="Nikola Smiljanić <popizdeh@gmail.com>"> <span class="fn">Nikola Smiljanić</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Clang 3.6 regression: noexcept expression doesn't seem to pick up global function overload"
   href="https://llvm.org/bugs/show_bug.cgi?id=25694">bug 25694</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;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Clang 3.6 regression: noexcept expression doesn't seem to pick up global function overload"
   href="https://llvm.org/bugs/show_bug.cgi?id=25694#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Clang 3.6 regression: noexcept expression doesn't seem to pick up global function overload"
   href="https://llvm.org/bugs/show_bug.cgi?id=25694">bug 25694</a>
              from <span class="vcard"><a class="email" href="mailto:popizdeh@gmail.com" title="Nikola Smiljanić <popizdeh@gmail.com>"> <span class="fn">Nikola Smiljanić</span></a>
</span></b>
        <pre>I don't think this is a bug:

9.2 p2: A class is considered a completely-defined object type (3.9) (or
complete type) at the closing } of the class-specifier.
Within the class member-specification, the class is regarded as complete within
function bodies,
default arguments, using-declarations introducing inheriting constructors
(12.9), exception-specifications...

Name lookup is postponed until the class is fully parsed at which point member
function is declared. Name lookup selects this class as per 3.4.1 p1:

In all the cases listed in 3.4.1, the scopes are searched for a declaration in
the order listed in each of the respective categories; name lookup ends as soon
as a declaration is found for the name.</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>