[all-commits] [llvm/llvm-project] 611449: [C++20][Modules][4/8] Handle generation of partiti...

iains via All-commits all-commits at lists.llvm.org
Fri Feb 25 01:33:48 PST 2022


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

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaModule.cpp
    A clang/test/Modules/cxx20-10-1-ex1.cpp
    A clang/test/Modules/cxx20-10-1-ex2.cpp
    M clang/test/Modules/cxx20-import-diagnostics-a.cpp

  Log Message:
  -----------
  [C++20][Modules][4/8] Handle generation of partition implementation CMIs.

Partition implementations are special, they generate a CMI, but it
does not have an 'export' line, and we cannot export anything from the
it [that is it can only make decls available to other members of the
owning module, not to importers of that].

Add initial testcases for partition handling, derived from the examples in
Section 10 of the C++20 standard, which identifies what should be accepted
and/or rejected.

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




More information about the All-commits mailing list