<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Unqualified lookup into dependent bases of class templates fails if class exists with the same name"
   href="https://llvm.org/bugs/show_bug.cgi?id=25995">bug 25995</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>WONTFIX
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Unqualified lookup into dependent bases of class templates fails if class exists with the same name"
   href="https://llvm.org/bugs/show_bug.cgi?id=25995#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Unqualified lookup into dependent bases of class templates fails if class exists with the same name"
   href="https://llvm.org/bugs/show_bug.cgi?id=25995">bug 25995</a>
              from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
        <pre>A different way of looking at the reduction:

struct NameConflict {};
template <typename B> struct A : B {
  static void f(NameConflict p) {}
};
struct Base {
  struct NameConflict {
    typedef int type;
  };
};
int main() { A<Base>::f(Base::NameConflict()); }

Clang correctly uses '::NameConflict' instead of 'Base::NameConflict' for the
type of the parameter 'p', while MSVC does not.

We can't match MSVC's behavior without doing token based template
instantiation. Clang *needs* to be able to somehow parse the template prior to
instantiation. Even -fdelayed-template-parsing parses the template bodies prior
to instantiation.

Basically, this is not feasible.</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>