[all-commits] [llvm/llvm-project] 38067c: [C++20] [Modules] [Reduced BMI] Avoid force writin...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Apr 29 20:35:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38067c50a9459caed2892e38b2ae5026a8bff8e2
https://github.com/llvm/llvm-project/commit/38067c50a9459caed2892e38b2ae5026a8bff8e2
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-04-30 (Tue, 30 Apr 2024)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/pr90259.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Avoid force writing static declarations
within module purview
Close https://github.com/llvm/llvm-project/issues/90259
Technically, the static declarations shouldn't be leaked from the module
interface, otherwise it is an illegal program according to the spec. So
we can get rid of the static declarations from the reduced BMI
technically. Then we can close the above issue.
However, there are too many `static inline` codes in existing headers.
So it will be a pretty big breaking change if we do this globally.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list