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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] `modernize-type-traits` doesn't support type traits not declared directly in `std`
        </td>
    </tr>

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

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

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

<pre>
    This affects `std::chrono::treat_as_floating_point_v` and `std::chrono::is_clock_v`, because they're declared in `std::chrono`, not `std`. The check's current architecture is simply not currently designed to handle this case.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kcGOmzAQhp_GXKwgM7FhOXDYdpUn2Htk7Am469jIM6xEn76CpN0e2hNI_r_RzP9ZojAlxEGYb8K8VXblOZchZmcjLTl_VGP22_A-B5L2dkPHJEWriL04v4rzq5tLTvnxzwUtXy1dbzFbDmm6Ljkkvn6KVkmb_H_BQFcXs_s4kgK-yxGdXQklz7gJ6ApKjy7agl6G9K8xDyxl_v3Yqlq-zyjdjO5DQEfSraVgYmmLmwOj47WgDCQp3Je4HewzEjfp8ajFS85ytsnHfZdA0lnCuvLD2ffn3lY4NJ1pWt0obap5MB601tC3rWuNhaZR_two_QLetKPr-yoMoMCoTulGmw5MrV6a3hnb4EujjfM3oRXebYh1jJ_3OpepCkQrDo3uVAdVtCNGOlwBuGjTdOLgNwGwuyvDTp3GdSKhVQzE9DWHA8fD8l-YedvrumePJYWfeOJtwRMXG5h2ZT4jJQEdS1qXJReWe0A-Akdhf6z4UNDtxX3paVW1ljjMzAvtruAi4DIFntexdvku4LLv9vyclpJ_oGMBl-NgEnB53vw5wK8AAAD__64X3FI">