[all-commits] [llvm/llvm-project] dc4e85: [C++20] [Modules] Remove hardcoded path to importe...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Thu Jan 11 21:56:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc4e85bd79ff17014cbbe4a9db1d9b91929e91ce
https://github.com/llvm/llvm-project/commit/dc4e85bd79ff17014cbbe4a9db1d9b91929e91ce
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSerializationKinds.td
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/CodeGenCXX/module-initializer-guard-elision.cpp
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/Modules/cxx20-10-1-ex1.cpp
M clang/test/Modules/cxx20-importing-function-bodies.cppm
M clang/test/Modules/cxx20-module-file-info.cpp
M clang/test/Modules/cxx20-partition-redeclarations.cpp
M clang/test/Modules/eagerly-load-cxx-named-modules.cppm
M clang/test/Modules/implicit-module-with-missing-path.cpp
M clang/test/Modules/module-init-duplicated-import.cppm
M clang/test/Modules/no-duplicate-codegen-in-GMF.cppm
M clang/test/Modules/no-implicit-std-cxx-module.cppm
M clang/test/Modules/no-import-func-body.cppm
M clang/test/Modules/pr61067.cppm
M clang/test/Modules/pr62705.cppm
M clang/test/Modules/pr67893.cppm
Log Message:
-----------
[C++20] [Modules] Remove hardcoded path to imported module in BMIs
Close https://github.com/llvm/llvm-project/issues/62707
As we discussed before, we'll forbid the use of implicit generated path
for C++20 modules. And as I mentioned in
https://github.com/llvm/llvm-project/issues/62707, we've emitted a
warning for clang17 and we'll make it a hard error in clang18. And the
patch addresses the decision.
More information about the All-commits
mailing list