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

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy: Add `ctime` and `ctime_r` to `clang-tidy`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-tidy
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          zimirza
      </td>
    </tr>
</table>

<pre>
    https://github.com/llvm/llvm-project/issues/86567 is an issue for implementing `ctime` and the pull request for this implementation is https://github.com/llvm/llvm-project/pull/107285. It would be good to add `ctime` to `clang-tidy`.

This issue should add `ctime` and `ctime_r` to `getReplacementFor` function in `UnsafeFunctionsCheck.cpp`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykkkFvnDAQhX-NuVhBZlgbOPiwbYTUa9WeK2MP4NZgiodUya-vcBJt0lOrXkAz9jy973lMSn5aETWTH5i8L8xBc9z1k1_8_mSKIbpHPRNtidVXBj2DfvI0H0Np48KgD-Hh9Xe37fE7WmLQ-5QOTAz6VknVcJ-4WXlu8jHu3C9bwAVX8uvEmRKW_IJMCW5Wx2lGvh0h8B1_HpgoT9Ds023MkI-nHv9nY6cwg74SDbSy5J-I_4pHcHxAPsXoOEVunHvniWIug1mnO_LukSlRMnHPxPX5-yVby2xpzmJ_KpxUr_W3_aY5IX3GLRibofqYj8Zjtc9463nn65rMiP1LM32c0f4o7badLgqna9fVnSlQVw1IqSrRqmLWymJlmsswNliPbdO62rYIapDWoWqtK7wGARfRCVm1dQWqlLKqhGg76GDsTI3sInAxPpRnfmXcpyIT6ko0l4ssghkwpLwyAG-iAThXaNc59eGYEruI4BOlmw55CqjfzNRXfv3LwN49QnHs4T8284XkQcPvAAAA___90ves">