<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55856>55856</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`modernize-use-emplace` not reported with alias
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
firewave
</td>
</tr>
</table>
<pre>
```cpp
#include <list>
#include <string>
typedef std::list<std::string> L1;
using L2 = std::list<std::string>;
void f1()
{
L1 l;
l.push_back(""); // no warning
}
void f2()
{
L2 l;
l.push_back(""); // no warning
}
void f3()
{
std::list<std::string> l;
l.push_back(""); // warning
}
```
https://godbolt.org/z/K5r83c65o
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1Ustu2zAQ_BrqQligSOt10CGJm0v8DwUfa4ktLQokZSP5-q5kxynaGkgOFVaUdoezM1hSefPakYpdQk8TYTvCHggXdtRuNkCJeHI2JiK-_QuKKdix_wDXNb1OYOBAYzJEPGBcGjzd8huL7gsiHi-sOWKN7jm23X2CeuNd1pO3hh4KwhvC2ytQX3dQfPYFdTfKUnD5NMfhu5L650ria7S4hxL-jEFHT88yjIvctd_ub0V-X5H_H0VxV_ET8_6qozt23i_M7-6GlKa46K3M3hvlXcp96DF7w_elDI3QVekz0wnTilZmySYHy_U7egMo9AabOcIGjpOTGrCOE0k0wORDAkPPNg1UOitjNgfX_SGI4Kxy7Y-YOHd6_2ym4H-ATpjaGGeI-FOWTVllQye5UlVdFYem4crItma8MW1TSq2NYFuTOanAxY6UjziZEc50bbFMqdxltuOMc1YxUfBtzZpcQVWZGrlKNXUhW7JlcJTW5YuPZRJZ6FZLau4jgssxxQ9Qxmj7EWCVw_5yToMP3cEGOMsTZKt2t3r_BaeyDHc">