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

    <tr>
        <th>Summary</th>
        <td>
            Clang Tidy enable for only reachable source code
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    Hi there,

I have a basic problem, which I am not able to solve.

I am analyzing some data types, and I need to make further analysis only when the source code is reachable.

For example, when I use an std::vector whose source code is not reachable.

But when I use a custom type from an header defined by myself e.g myStruct.h, it is reachable so I can apply some checks.

Is there such a capability implemented in Clang-tidy options to enable checks only when the source/header is reachable and the used utility is not pre-compiled?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtktmOnDAQRb8GXkqDwDR09wMPs6iVeU5-wNgFdsbYyEtPyNenTE-WVkZCbC7fe26VRye34YuGqNBjwZ6L-qWoH2_3V1D8isBh5EELWL0bDS5UBO9KCwWvwBewLgKn_xAdBGeuWN1LUAm33Gw_tZ2pYEGQPHKI24ohS3ErScgiyqyw8DeEKfmMc9sXdABnzUaeaDMmiSQvEISTCLTokQuVCe6ML84D_uDLavAGTJtfIQWKYyFEWbSPdF1RRCp8Vy78p5uDfa79lOKdIIgUolv2TDB5lxODQi4pg8RJW8o2brBsAc0EWM30-jX6JGKlMpyOdzkIhJQFafB1peB704RC8RbuextuU4OQaBhEwVc-aqPjBjrnXtBGctYWng2380PUcgO3Ru1syL1Gu7vdlD_tccEuHzHu-PLIchGFl5Dih-WtY6vHB-GWVRukHl9KHJq-74_Hvm2PpRxaeW7PvIw6Ghx2LPiWsT5YJhrGDvJvM_5MpUzeDCrGNeTpsQtds44qjRU50ocx19-PBzqs32m49KlDSPmoXbpTz1iphn7CscW-bw_NSfRTcz71Rzbyrmum5nSoeWn4iCYMRfdUMGbxHXYJei-6l1IPrGasqVlfn1nXHqumqdv61LXT1E6HsT4XhxoXrk2VOSrn59IPO9KY5kCLRocY_i7yEPRMx3-3I32eonJ-EBIX7YPbyt182OF_ASj-OhY">