<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58648>58648</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
False positive misc-confusable-identifier: confusing template argument and function from different classes
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy,
false-positive
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
carlosgalvezp
</td>
</tr>
</table>
<pre>
Getting the following on latest trunk:
```cpp
#include <gtest/gtest.h>
struct Foo
{
void l();
};
```
```
[source>:5:10: warning: 'l' is confusable with 'I' [misc-confusable-identifiers]]
void l();
^
/opt/compiler-explorer/libs/googletest/trunk/googletest/include/gtest/internal/gtest-param-util.h:842:23: note: other declaration found here
template <size_t... I>
^
```
[Repro on Compiler Explorer](https://godbolt.org/z/hvxhKj87h)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9U9uOmzAQ_RrzYoHADoE88LDZbKpV3_oDlQ0DeGtsZJvs5es7JqFZVdta4MsZY885Z5C2e2--QQjKDDSMQHurtX2NK2uoFgF8oMEt5hfhDyQ_kXzr9_n1aef5hjCuTKuXDijhj0P8krDzOmYj4U-fv_Z4ZBvo2dobWh2vE4rtYlVHNWE1YQfCj9uO032-3f1lQrdlefR2cS3Em_lDiW-RY0dfhTNIL04Jq_CaiipPW2v6xQupgb6qMMbQcwzhMZPybXqPp6oDE1SvwHlSnuLz_8zp1ki5acDOdo7itHaalQaXwtusrQOHmFbSR92sHTTcRLwa8Bd4E3vTeEUCOCP0BqWzcGJKl6B0dOCh3jHsGY_cjQ0QR4umO9pBq3FvUGh6bxfTUURhyz_ANMdSiL569QE_Q5Zl9PmPp_TLdqf7pV3l8QfMzsYye7zJQJ82GVBUVo8hzD6WHTuv3DtpdcisG3D1ge94eRu_v9TVGNX-dHQCTbHf7-tql-dl0jW8O_CDSIIKGpqz0B7obL0K6gL03-ZGca6B9dfYJBBuWCbcQwWK1C-mvWrm7EQ71feoGsZQTO_BJ4vTzV8ssLgWmaHx0Wp92YYUpXiBdnXR-wViCZT1flcnY9MKKHlXSsmLGiFetDnyASl7XrayyBMtJGjfoKSEMbzbDGlQ3TsuCHvEUmZ9JJ1upCNenhLVsJyxImdVwThnZcYOlWSyLwrJD3m9l2SXwySwdmKCUffENWuuchk8BrXywd-DSFkNBmDNA88XSxitw-ydtn4Q-gIfc7KSa1ZmvwHyTFvd">