[PATCH] D121097: [C++20][Modules][HU 3/5] Emit module macros for header units.
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 19:56:52 PDT 2022
ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
This revision is now accepted and ready to land.
In D121097#3391698 <https://reviews.llvm.org/D121097#3391698>, @iains wrote:
> In D121097#3391236 <https://reviews.llvm.org/D121097#3391236>, @ChuanqiXu wrote:
>
>> I feel good if we could add the test from: http://eel.is/c++draft/cpp.import#8.
>
> I agree we should have tests based on all the relevant examples in the standard.
>
> However, that specific example is not connected with **building** header units, but instead is connected with consuming various preprocessor directives etc. when building a regular module. We actually already have some of the tests in diagnosing bad imports.
>
> So I think that (after this series is in) we should be in a position to add some more of the examples in the standard - as a follow-on patch, does that make sense?
Yeah, it makes sense. This one LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121097/new/
https://reviews.llvm.org/D121097
More information about the cfe-commits
mailing list