<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/130468>130468</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Code completion does not work for member of alias template with dependent argument
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:frontend
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          HighCommander4
      </td>
    </tr>
</table>

<pre>
    In the following testcase:

```c++
template <typename T>
struct S {
  int a;
};

template <typename T> using Alias = S<T>;

template <typename T>
void f(Alias<T> s) {
  s.^
}
```

Code completion at the `^` does not offer the member `a` but should.

(I noticed this while writing [this testcase](https://searchfox.org/llvm/rev/73e14de207a3aa0fa071fa56756e8e316edf5227/clang/test/CodeCompletion/member-access.cpp#421-437). The seemingly more complicated member-of-a-member scenario works, but this simpler scenario does not.)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEk8GS4yYQhp-mdaGswiCQdNDB4xlV9rz7AhgaiwQJFaBx5u1TaLTeSQ7ZKg626L_p_-NHpeTuC-IA4gXEa6W2PIU4_OHu0zXMs1oMxqa6BfMxfFtInpDY4H14uOVOMqasVULgF6D7kvRzaWAvZdFLxnn1KiMBfs0fKy5qRvID-BvQS8px05l8J9CWUkLckokCXv5A-3r8-J8eZEtljot3KhHgr-Q78Ove_LdSoJf34AyxwLpdfyhJAtY_B0o1iLdjmi_2Pntfg0Giw7x6zC4sROWdT9kXbyApMQETWUImwVqM--aM8w1jqVGl4rZlkqaweVMfBFn3rUicRkPy5BJ5TM4jeUSXi1UQL_vXJ3rxCqybcl5TuQU2AhsTqqgnG_6uQ7wDG71_n4GNEd-BjS3Hc2OQ0VZxpahVtD1bJWQrJHbIzxKNFYy1wEbt1VL05SxgY7F7fboFNn56OSmtMaVarysw3rDzqeEtsL4mPyYkCXF2y91_kDnEg5bTKqM5UJyCPanTgSVpXFR0gTxC_CsBu-6AdsPJlZO_lPyEWwPrKzNw0_NeVTic2-bc9J08y2oapBJSN4resNNKU-w6aq0RXBslOFV95QZGmaCc9lRwKWTdt42VVrbKSiEp3qChOCvn60KxAK1cShsOZ04b2VVe3dCn_fEw9gmMX2wMS8bFAGPlScWhaE-37Z6god6lnH51yy57HP4bpWdyCghiQ_wZnGCJ2tP-DPbD5YkYXHExWJ5PvG8zLrnaoh_-nYu7y9N2q3WYf4Vin2yN4U_U5Y53bwnYeNh7H9g_AQAA__9GTk7I">