<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64441>64441</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-tidy: fully qualify names from a given namespace (e.g. clean up `using namespace std;`)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
PhilMiller
</td>
</tr>
</table>
<pre>
I'd like a clang-tidy check that transforms unqualified names to their fully qualified forms, such that high-level declarations of `using namespace foo;` could be safely removed.
The leading use case is code that was written with `using namespace std;` in a common header, and hence lots of declarations that reference standard library types and functions without qualification.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UsuOnDoQ_RqzKTUyBhpYsJi5o5buIlIW-YHCLrAzxu740SP-PoLuUWekKBt74arz8sEYzeKIRta-svatwJy0D-N3bew3Yy2FYvJqG_9nolNgzTsBgrTollMyagOpSb5D0pggBXRx9mGNkN2vjNbMhhQ4XClC8pA0mQBztnaD5_OxwMR_ELPUdyBtFn2ydCMLiqTFgMl4F8HPwM48R-OWO-oVJcHsPatf2ZmD9NkqmAgizmQ3CLT6G6mS8TfGX-7nD01gCdWOkSOBxEhgIkiv6M7-gRE-gkmJHHyYpP_GGZN6cBq35-HX1TvQhIrC7gWdAk1OElifDuFfjBw8gWYKx0xM6BSGPd4pYNggbVeKB8icnbzv7FJ8Tp_JyQOqLNRYq6EesKCxOg9V1fUd7wo9dtiqjoZuqs_doGRdNTPnrZhqoWTTTVNhRsFFzXveVENbNXXZd4q4oKHHVnY9TqzhtKKxpbW3tfRhKUyMmcZz0zRVYXEiGz9LE8Z96DTlJbKGWxNTfK4lkyyNz86w-uVLC7ZHRebgV0BYzI3cH1kz0VO5lCAtoYN8_ed_MDEUOdhRp3SNrH5h4sLEZTFJ56mUfmXisut6XKdr8D9JJiYuh7fIxOWw9zsAAP__h9QMIw">