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

    <tr>
        <th>Summary</th>
        <td>
            Capture private headers in PragmaIncludes.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-include-cleaner
      </td>
    </tr>

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

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

<pre>
    If a header has a IWYU private pragma (`// IWYU pragma: private`, `// IWYU pragma: private, include XXX`),
this header is consider private, we'd like to collect this information, and use it as one of the hints for header ranking (for adding missing #includes).

In the implementation, `PragmaIncludes` can store these information, and provides a method `bool isPrivate(const FileEntry *File) const` to tell whether a given file is private or not.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUsGOmzAQ_Rq4jIKIIQ4cfEh3Gym3vVTdHg0ewI2xI9tktX_fMVm2rXqohIxn5o393ht3Tr2LywASJpQKPUwyUHD5_uMb3Ly-y4j0l-MsIWNNxsuMnenbAKmQVacNutaf4L8wwmjbm0UhvL6-rvCWkln5nJWnOOmwsaFd72zQaf9H8xutRwVGXxGiI4gx2EdYO7UdnJ9l1M4mqLQKloCgI5AyZxHcQECESdsYgLDbXV7aq7Zj0pmyUqkUzTqER7b6oByIbPGg-lgvdj1QzzeDM9r4eTcJe1m1X7ZOXkIvLYToPKamROxfvjfv7iQ5DWLGODmVTuqcM-THy-ZCk4yJcNYGv9ro34nhKQXEbvUspsvInIjGwNtE55BGCaO-o4WBgMncbcSk17pY5Cj2nLesraq2ypWoVFu1Mo86GhRP8hYXj589D9uS4fC3yiJfvBFTjLdAQ3-8hFHHaemK3s0UGHPffjvS-pNmRyEZvSRzz4d23_B8EgM_HnnfNV3d84a3dYd1w49K8gYPKPsqN7JDE0R2-JIx1htpx93HjHa9QWnRUz47POdasJKx_Z7Ve1ZxxgsaMR-ONZnID1WHXVaXOEttisSpcH7MvVjpdcsYqGh0iOF3UdKbGC3iejWdLxeakheTu6K2-SpErCp-AVYGG7c">