[all-commits] [llvm/llvm-project] 574ee1: [C++20] [Modules] Prevent to accept clang modules

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed Aug 16 20:48:27 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 574ee1c02ef73b66c5957cf93888234b0471695f
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaModule.cpp
    M clang/test/Modules/cxx20-export-import.cpp
    M clang/test/Modules/diag-flags.cpp
    M clang/test/Modules/diag-pragma.cpp
    A clang/test/Modules/pr64755.cppm

  Log Message:
  [C++20] [Modules] Prevent  to accept clang modules

Close https://github.com/llvm/llvm-project/issues/64755

This wouldn't affect the form @import as the test shows. The two
affected test case `diag-flags.cpp` and `diag-pragma.cpp` are old test
cases in 2017 and 2018, when we're not so clear about the direction of
modules. And the things that these 2 tests tested can be covered by
clang modules naturally. So I change the them into clang modules to
not block this patch.

More information about the All-commits mailing list