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

    <tr>
        <th>Summary</th>
        <td>
            [C++20] [Modules] Deprecate the form `-fmodule-file=<path-to-BMI>` for named modules
        </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>
    The form `-fmodule-file=<path-to-BMI>` will load modules eagerly and the form `-fmodule-file=<module-name>=<path-to-BMI>` will load modules lazily. The inconsistency adds additional burdens to the implementations. And the inconsistency looks not helpful and necessary too. So I want to deprecate the form `-fmodule-file=<path-to-BMI>` for named modules.

Note that header units technically have no name and we still don't have a good idea for header units now. So this proposal doesn't apply to header units.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysk7GO2zgQhp-GagYWKMqS7UKFvT4DW-w1d8W1Y3Ik8UJxFJJaw3n6gLKRYBEgSZGGAiTOx_8bDTFGO3iiTjQn0ZwLXNLIoXsZF_Sf7X_LobiyuXf_jgQ9hwlEKzf9xGZxtOmtI1GfRf0yYxo3iTent1dR_yVaCTfrHDhGA4_NEQgHCu4O6A2kn-OeLzxOlHG_fYTDL9bdS8hprdfso42JvL4DGhPzYpNljw6uSzDkIyRes9hpdjSRT5i_xxKOz5AfKY75UwTPCUZyc7-4VcaTphgx3CExl_APwyvc0KcMNzQH0pjoV8o_6vUcIHfgm14p5FnI42P9m1cm5ihoKMDibYqQSI_eanTuDiO-E3heIWvQG0FMuWmGvVC79NiBMDAbsIZwPfMDz_NtNUqjjTAHnjlirqf4IOA8u-z9oeoZtDBdbQ71AQvqqnbXtlId9rIYO9zrPdXVdiv1VW2VUX2zN1VDla52aFRf2E5JVUtV7WQtaynLXleq6nf7WqqWUNdiK2lC60rn3qeSw1DYGBfqWrlX28LhlVxcJ1op7dAPoj4-myiUymMeuly5uS5DFFvpbEzxOyvZ5NYL8SLUSaiTkqI5g2hOb09Gc4bzH_yxxRJcN6Y0R1EfhboIdRlsGpdrqXkS6pKDPR-bOfD_pJNQl9U4CnVZpb8GAAD__yOXQGk">