diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-06-24 18:59:08 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2024-06-24 19:03:31 +0800 |
commit | cc4ec6daf0d4f43110e8220d542c1155b8c1ef51 (patch) | |
tree | e1ee5b1414fb590740a0dc4245b208dadf38dca4 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6b41de3605658069eb69b8684c2760e54bd1bea3 (diff) | |
download | llvm-cc4ec6daf0d4f43110e8220d542c1155b8c1ef51.zip llvm-cc4ec6daf0d4f43110e8220d542c1155b8c1ef51.tar.gz llvm-cc4ec6daf0d4f43110e8220d542c1155b8c1ef51.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions