<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/107750>107750</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Using uninitialized value `function_ref.callable` when calling `operator ()`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
anmyachev
</td>
</tr>
</table>
<pre>
This is found by `Coverity` tool.
I believe this field should be initialized to a default value explicitly:
https://github.com/llvm/llvm-project/blob/78fa41524b6f6e2696ff21ec50e760311ac939a3/llvm/include/llvm/ADT/STLFunctionalExtras.h#L41
`operator ()`:
https://github.com/llvm/llvm-project/blob/78fa41524b6f6e2696ff21ec50e760311ac939a3/llvm/include/llvm/ADT/STLFunctionalExtras.h#L68
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUkjGP3CAQhX8NblAsGNvYLigu2ViKdF02dQT2sCaaNSsDvtv8-sh7G-0VaVJeA2LQPM2b95kY_WlB1Kz5zJpDYXKaw6rNcr6accatsGG66uPsI_eRu5CXidsrZ0p8CRuuPl2ZEjyFQCUTByae3s5v3CJ53JCnvdV5pInHOWSauEXuF5-8If8bJ54CN3xCZzIlvhnKyPH1Qn70ia6sugvOKV3i_oKBwXDyac62HMOZwUC0_b0-XdbwC8fEYLAULIOh7ZypZQO1VU4hqF45BxLHRmCrRCWlGfuqN9VDxy8j5QkfhafDkcHw_fg85GVMPiyGvr6m1cRyZlA91_K9caZEuOBqUlg5g45Bz5T4AC5UV0y6mnaVArVsoWn7RrRVMeu-QZS9UUYY7NWoEKppsp3qQAFasIXXIKAWveikrKSsyrobZe2cUCCVM6pjtcCz8VTus5RhPRU-xoxairZtREHGIsUbgQALvvDbLwPYgVz1bSU2nyKrBfmY4kMm-USof0S_nHhe3lP1BhJTwt3t_lzRlaMhMpZwZ_ZlxoXvhb35n7EVeSX935Hdho8Mhru7TcOfAAAA__-xaxG0">