[PATCH] D140927: [C++20][Modules] Fix named module import diagnostics.

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 3 14:59:06 PST 2023


iains created this revision.
Herald added a subscriber: ChuanqiXu.
Herald added a project: All.
iains added reviewers: ChuanqiXu, dblaikie.
iains added a subscriber: clang-modules.
iains published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140927

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140927.486103.patch
Type: text/x-patch
Size: 7778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230103/b0393bb6/attachment.bin>


More information about the cfe-commits mailing list