diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-07-26 21:05:30 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-07-26 21:07:41 +0800 |
commit | 99daf6b2636245446cab0a7800e36fd34777e599 (patch) | |
tree | 92c6ac2b0d5f7e16170bc307a7ea6d878cf6638c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 0d191b7553e7efbf7ce57c77274b83c15b681933 (diff) | |
download | llvm-99daf6b2636245446cab0a7800e36fd34777e599.zip llvm-99daf6b2636245446cab0a7800e36fd34777e599.tar.gz llvm-99daf6b2636245446cab0a7800e36fd34777e599.tar.bz2 |
[C++20] [Modules] Don't handle no linkage entities when overloading
The original implementation uses `ND->getFormalLinkage() <=
Linkage::InternalLinkage`. It is not right since the spec only says
internal linkage and it doesn't mention 'no linkage'. This matters when
we consider constructors. According to [class.ctor.general]p1,
constructors have no name so constructors have no linkage too.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions