<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/121607>121607</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] cert-err33-c false positive on user-defined function named timer
</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>
LegalizeAdulthood
</td>
</tr>
</table>
<pre>
1. `git clone https://github.com/LegalizeAdulthood/iterated-dynamics`
2. `git checkout 53c6c9909e2d2e320ccedc55e9ed2d59fbcb1705`
3. configure CMake project, optionally using the provided `CMakePresets.json`
4. Browse to `libid/bifurcation.cpp`, line 471 on the call to the `timer` function
5. IDEs (and presumably clang-tidy from the command-line) flag the call to `timer` as a `cert-err33-c` violation
6. The documentation doesn't list the function `timer` as one that would be flagged by this check
7. Even if a system function called `timer` (I couldn't find any such function) existed, if a user-defined overload is distinguished from the system function, then it still shouldn't be flagged as a violation.

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8lNuOpDYQhp_G3JRApjhfcNEzvS2NlEi5yAsYuwDvGrtlm950nj4yPTs9u5FWQgIV9vf_dbBFCHqxRCNrXlhzzsQeV-fHP2gRRv9LJ7WbuDqnssmp-1gWwFq-6AjSOEuwxngNrDoxvDC8LDqu-1RItzG8_I_A8KIjeRFJ5epuxaZlYC1n_IRP6krym9sjNJVs5TDwgVAhVcilJCWbhgZSqJphnuRUdrx5AKoCpLOzXnZP8Pqn-EZw9e4rycjwFdw1ameFMXfYg7YLxPX4f9OKVFI-dvzlKVAMxdfg7INaF_Di3fdAEF1aZvSkUxaTnncvRYIW8npNi_EVjLYEdVeCs4eAFMakjembtTzqjTxrOcy7lWkr46emgLfzlwAMe2EVXD2FfROTuYM0wi551OoOs3fbA-i2TViVJyGGA8xGLD8pfVYRAUQKSPIxJ--rKpcpftPOiHf5toC_VwLl5L6RjUcYlKNgGXYRjA7x4P9w_KtAGoC4igjf3W4UTHRYWkjBdIe46vBoJ-OnroAvN7KgZxAQ7iHS9qQm-48-fMAZ9m8gE_VhZdZWgbB3CLtcnxXEAegfHSKp1IADvgfyuaJZW1LgbuSNEwp0AKVD1HbZdVhJPYv6i5nEiWtyGiFEbQyE9WnjU4ZHfT-KWTB-Sg-WrHl528RCrDkz7H9zPA6jIkYh11T8wPAiQhpAhpdZ8bKmsstbpbq87vs5nwR1eSW7jgRXVKNiODB-ytRYqaEaREZj2VXNUGPPy2wdsRWKy7ptqJfD0KLq-7bj5TDU9dR1Q5XpETk2vOQVInJeFhOfJXayEzMOA82S1Zw2oU1hzG0rnF8yHcJOY4lly7vMiIlMOG4NxOe4MkSGrwxxFiZQfnVBR32jFG7OmR8TLJ_2JbCapwELT3zU0RzX0Cdac4bPEwwHFX5Q01H7qeEfM2XFRgqOecp2b8bfNCLpv7_yj0vjcuSaevGe7m3E_wIAAP__IiWx_w">