2 Commits

Author SHA1 Message Date
Krzysztof Parzyszek
e44c28f07e
[clang] Replace "can't" and "can not" in diagnostics with "cannot" (#116623)
See
https://discourse.llvm.org/t/cant-cannot-can-not-in-diagnostic-messages/83171
2024-11-18 15:28:17 -06:00
Chuanqi Xu
cc4ec6daf0 [C++20] [Modules] Diagnose redeclarations from different modules
[basic.link]/p10:

> If two declarations of an entity are attached to different modules,
> the program is ill-formed

But we only implemented the check for ODR. In this patch, we tried to
diagnose the redeclarations from different modules.
2024-06-24 19:03:31 +08:00