diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2021-12-08 13:49:02 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2021-12-08 13:54:04 +0800 |
commit | 60f826663d86e9bdf7adef9a8f1b2fc398e07f2a (patch) | |
tree | 0d23c37ad15f6124e667b8e75fabd893945b69b2 /mlir/lib/Bindings/Python/ExecutionEngineModule.cpp | |
parent | dd1abb1102daeb5a54c18cec6c148e62437c1ef2 (diff) | |
download | llvm-60f826663d86e9bdf7adef9a8f1b2fc398e07f2a.zip llvm-60f826663d86e9bdf7adef9a8f1b2fc398e07f2a.tar.gz llvm-60f826663d86e9bdf7adef9a8f1b2fc398e07f2a.tar.bz2 |
[C++20] [Modules] Namespace Declaration shouldn't have module linkage
According to [basic.namespace.general]/p2, a namespace declaration
shouldn't have a module linkage.
> A namespace is never attached to a named module and never has a name
> with module linkage.
Without this patch, the compiler would crash for the test in assertion
enabled build due to inconsistent linkage for redeclaration for
namespaces.
Reviewed by: rsmith
Differential Revision: https://reviews.llvm.org/D115132
Diffstat (limited to 'mlir/lib/Bindings/Python/ExecutionEngineModule.cpp')
0 files changed, 0 insertions, 0 deletions