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

    <tr>
        <th>Summary</th>
        <td>
            `ReadabilityModuleTest` including clang's `ASTMatchersTest.h` breaks standalone builds
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            test-suite,
            clang-tidy
      </td>
    </tr>

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

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

<pre>
    The very first line of `clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp` is:

```
#include "../../clang/unittests/ASTMatchers/ASTMatchersTest.h"
```

but in the case of standalone builds, clang-tidy can't just include a file from the clang source tree, as it might not be there at all. I'm not familiar with the code base so I'm not sure what to do about the test.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUstu4zAM_Br7QsTwI7aTgw_dLQrsoZdufkCyaFtd2Qokqm3-fiklRYu2gCCbIDnkzEhadRlOC8ILugtM2nkCozcEO0HWlaMR27wja43f4Rs5kdUPYdNE6Mnz_y2v1YWDJxRKSG00XR6tCgZPXFWM5zMDgfZZc5eV91n5fnfl7VzDutHbaIJCyOq6KBgvXWnCl6l3f0-PgsYF3ZcoDVy4_-cR6ZaBQG9AzHkUPhH1JDYljGXaMmijGPU3fFDjui2re4Ln4GPvdUvBahmEydn1ChbrwdvgRgRyiBFEeNAEq54Xgs0SSIy1jrsJhDEF_GHgNaUmsbJ0wsGrpuWKaHmMjDt6-6nQB-5_XRiBLCgLQlqmFBuiPkWuhkYdm6PISZPBgen_aEwyJXHRvPdN5t5H178ryrXSofjnv2uVB2eGheicDK4f-MzMIMhitCsHxry8f3ZnZ59xJA619wGje-2-qrp8GfoR-30pZKOqo6z7tirVQY5d27WqGjs85EZINH7I2l_sb2S680ETRrNZaP58fot11t7neqjLOp5DtWe8qpi6uirLqTo0fbvHts32Ja5CmyIuV1g3525Ie8owe04aze_tIym81_OGmHZgfBFosW4gKVChc3niNCRC_wGkhhXn">