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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] `bugprone-unchecked-optional-access` allow other `CHECK` macros
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    The docs [state](https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unchecked-optional-access.html#ensure-that-a-value-exists-using-common-macros):

> The check is aware of common macros like CHECK and DCHECK. Those can be used to ensure that an optional object has a value. For example:

But not every project uses `CHECK` or `DCHECK`. Would be nice if we could tell `clang-tidy` about our own checking macros (e.g. `PROJECT_CHECK`).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kk9vnDAQxT-NuYxAxiwse-DQZIOq9NCqitRjNZhZcGPslf_sJt--MhvS5FAJCWz8NL_3_NB7NRmijtV3rD5mGMNsXfeI0g4nVEM22PG1e5oJRis9sPrOBwzE6iMT7RzC2bPqCxM9E73UaKZC68tSWDcx0dNLcLj9yIMaX9NiJvnsmeiHOJ2dNcREH826S2Nuz0FZgzpHKcn7Yg6LZqIi46OjPMwYcswvqCPl9KJ88Hn0yky5tMtiTb6gdNYzcUhQfH2qB0j06wBQHvCKjsCe4CaBmwS0eia4__pw_w3QjHBcPwt4mq0nkGhgIIieRggWbjSQaAANbMxghz8kA8zoAWGFLKC3DugFl7Omd6a7GMDYAHQh9wpnZ1dZ9OSBNXydzBoO1qXlcVsX8MtGPSYQoySBOsGVQK57gbROhz8k3XDAwcYANjqwV3NLQJlpc8xES8VUJNmPn98fH-6ffm-jmDgU2dhV46E6YEZdua_qthLlvs7mTpbY7iUnwQde8vJUVc0oDvXQ7hq-P-1EpjrBRc1LLsq6asqqqMqmQilwt9ufmnZPbMdpQaXfu5Ip7yN1pSh3bZNpHEj7rZCuS6fyIU6e7bhOd_5PF1TQa3U_GK-PydLWrvy_3VoT0tpewYaZ3KfobxFl0enuc8cnFeY4FNIuTPQJ4-2Vv90iE_3qJRX8zc6lE38DAAD___UxGY8">