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

    <tr>
        <th>Summary</th>
        <td>
            Clang-tidy: Allow wildcards in bugprone-reserved-identifier.AllowedIdentifiers
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          ke-kx
      </td>
    </tr>
</table>

<pre>
    Currently it doesn't seem to be possible to use wildecards in the `bugprone-reserved-identifier.AllowedIdentifiers` option for the [bugprone-reserved-identifier](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/reserved-identifier.html) check.

This would be useful for avoiding false positives on functions prefixed with `__wrap` which are often used to mock functions in unit tests. 

See also:
* https://linux.die.net/man/1/ld --wrap option
* https://cmocka.org/talks/cmocka_unit_testing_and_mocking.pdf 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVU8uOnDAQ_Bq4tEBg3gcOk12tlHNyRzZuBmeMjWwzj7-PzcxOdqUk0koI2t1QXV1dMM1v_ctmDConbyAccI1WRaRxYBEXcBoYwqqtFUxiOG4W4SIkx5EabkEocDNCVGdsO65GK0wMWjRn5IngHlZMAk16kFJfkH9_Zqz_AvTqhFYwaXMHqb79DySqXiPSzs6tNioOEXnz1yipOqZSnpdUm6NP4NUZ-l5InOC3cJhxPFkfvMP78G8sZ7fIiHSwv59G2WuUHe73n7OwcNGb5EEPr8G0yZ03PWvBhTrCRKXdlRJOnNFCmGtTYxjQwmpwElfkXjk3B7GG4WLoGjS4zGKcgRoEPTlUAZsHnRc9nj4geJ035ffj0DqbwkduPxDBN9dBlHuaHOCzTFKo7ZpygalC588L9Tt-y0OFQ5IELo9l_AthDHzoQ2RH5S7nPTkEYkMg5nUYqOJDSPs4XfkEMfZ5XXdZUzZNG_O-4F3R0dgJJ7F_-bOl4gC7SXZzPb31RVPFm5H9Z-JHr_jG0lEvYVpvlMcj8bi_cAxqCGs3DPNUXZ538dyzjJW0Y-XY8qmmrGZVhyUrq6otxrImVSwpQ2l7b9iIEIUX2CF87D0ai55khOQ5yUlRkapJac7qgjXZWHfYtO0UlRkuVMinb2PT75T8tNYXpQg7fhap__mOCnFv5_Hp5mZt-hMmp2u8N-534r8BTfRIcA">