[C++20][Modules] Correct an assert for modules-ts.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 24 Mar 2022 13:10:38 +0000 (13:10 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 25 Mar 2022 14:55:13 +0000 (14:55 +0000)
commitcf396c56e7df756d460a456f99ceab1b5d2c2e37
tree9d52d1e76b3bd2fb5671f03a410bc2dff2e1f856
parent7e459126185f4d5115e6e2166a866aba1369d024
[C++20][Modules] Correct an assert for modules-ts.

When adding the support for modules partitions we added an assert that the
actual status of Global Module Fragments matches the state machine that is
driven by the module; keyword.

That does not apply to the modules-ts case, where there is an implicit GMF.

Differential Revision: https://reviews.llvm.org/D122394
clang/lib/Sema/SemaModule.cpp