[all-commits] [llvm/llvm-project] cf396c: [C++20][Modules] Correct an assert for modules-ts.

iains via All-commits all-commits at lists.llvm.org
Fri Mar 25 07:55:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf396c56e7df756d460a456f99ceab1b5d2c2e37
      https://github.com/llvm/llvm-project/commit/cf396c56e7df756d460a456f99ceab1b5d2c2e37
  Author: Iain Sandoe <iain at sandoe.co.uk>
  Date:   2022-03-25 (Fri, 25 Mar 2022)

  Changed paths:
    M clang/lib/Sema/SemaModule.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list