<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56893>56893</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[C++20] [Modules] Module file of header units are not searchable
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:modules
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ChuanqiXu9
</td>
</tr>
</table>
<pre>
Currently we could only specify the dependent module file by `-fmodule-file` for headers units. But we can't search it by `-fprebuilt-module-path`.
Although we could argue that header units have no name according to the spec,
it is naturally that we couldn't search it. But this is not user friendly enough.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUstuqzAQ_RqzsYKMCSEsWCSpuuu-2wEP2JVjc_3oVf6-A6S9D8kyOh7PeYwZvHr0txwCumQf_Dfy0WeruHeE4oKjmR48aeQKF3SKbvG7V9kinwxtw4OzkzhM-9lhPSPMJx-4RlAYIs_OpFjya04bOzgm28QjQhg1N-mHYgk4ZGPT4cm1QNJUKJl4YeKy7_xik_Z51n-MQpgzkkNIT8VdkGv4RO48d3BHDuPogzJu5slvadZkTN52VjJhIl1MOYC1j53sW-A_u3uQpKlh7fGJ50iaUzA0HepFt9orC-yrU9M1VS2aqlB9rbq6gyKZZLFnzfXG5JWWFKx54YTftsxxRW9_jddP_4aCgJvmbgcGi0UOttcpLZHVFyZfac0m6TyUo78TsPbz-3NYgv_AMRE0MWZSk6_N6dzVhe6hmVQ7SaWmTio51bWqVCuwPouuPqvxWFgY0MbVOpNytOBm0rs_XUtJxgvTSyGlOItatI1oRKnEqYKxbaA6Ds0wtOwo8A7Glqub0oe5CP1mbMhzpKI1kf6UnyLEaGaH27xWfsj09qG_6Qzul3nPXbHF6LcMX-Az6-0">