[all-commits] [llvm/llvm-project] 53a131: [C++20][Modules] Fix named module import diagnostics.

Iain Sandoe via All-commits all-commits at lists.llvm.org
Sun Jan 22 02:23:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53a1314ed1b5021822071d3c7a751a5ec52619b7
      https://github.com/llvm/llvm-project/commit/53a1314ed1b5021822071d3c7a751a5ec52619b7
  Author: Iain Sandoe <iain at sandoe.co.uk>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/Parser.cpp
    M clang/lib/Sema/SemaModule.cpp
    M clang/test/Modules/cxx20-import-diagnostics-a.cpp
    A clang/test/Modules/cxx20-import-diagnostics-b.cpp

  Log Message:
  -----------
  [C++20][Modules] Fix named module import diagnostics.

We have been incorrectly disallowing imports of named modules in the
global and private module fragments.

This addresses: https://github.com/llvm/llvm-project/issues/59688

Differential Revision: https://reviews.llvm.org/D140927




More information about the All-commits mailing list