[PATCH] D128981: [C++20][Modules] Implement include translation.
Iain Sandoe via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 2 01:13:05 PDT 2022
iains updated this revision to Diff 441871.
iains added a comment.
fix a state transition after include translation.
This update fixes an (apparently pre-existing) bug in handling:
The translation process pushes a tok::annot_module_include which was being
handled as "misc" in the state machine, leading to the wrong starting state
for processing the 'import' following. The change here treats this token
as if it were the ';' that is notionally injected as part of the translation.
Updated the test case to test cases where header units can be imported.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17149 bytes
Desc: not available
More information about the cfe-commits