[all-commits] [llvm/llvm-project] fc89e9: [C++20] [Modules] Emit an warning for experimental...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Thu May 18 01:13:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc89e9044d0b37dcd4e3f085f21bef1b21d2ab8d
https://github.com/llvm/llvm-project/commit/fc89e9044d0b37dcd4e3f085f21bef1b21d2ab8d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaModule.cpp
M clang/test/CXX/module/module.interface/p2.cpp
M clang/test/Modules/cxx20-10-2-ex2.cpp
M clang/test/Modules/cxx20-hu-04.cpp
M clang/test/Modules/cxx20-include-translation.cpp
M clang/test/Modules/merge-concepts.cppm
Log Message:
-----------
[C++20] [Modules] Emit an warning for experimental header units
Currently, the header units are rarely used and it is not well tested.
To avoid further misunderstandings, let's mark it as experimental and
emit a warning when users wants to import it.
This is discussed in modules developers meeting.
More information about the All-commits
mailing list