Open Quuxplusone opened 9 years ago
Bugzilla Link | PR23501 |
Status | NEW |
Importance | P normal |
Reported by | Reid Kleckner (rnk@google.com) |
Reported on | 2015-05-12 13:51:48 -0700 |
Last modified on | 2016-11-29 13:58:30 -0800 |
Version | trunk |
Hardware | PC Windows NT |
CC | joker.eph@gmail.com, llvm-bugs@lists.llvm.org, mseaborn@chromium.org, rafael@espindo.la, t.p.northover@gmail.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
A new linkage is probably fine.
Another option is splitting the interposability into a new field:
<empty>: we have the final definition.
ODR: we have the final value.
Interposable: we have neither.
The weak linkage would require (or imply) Interposable. The *_odr linkages
would be removed.
I need to go over the lanlanguage reference again to really have an opinion.
Why do you think the new field needs 3 states? I think two is fine. This interposability bit really just feeds into "mayBeOverridden", just like ODR. They're just opposites. Since this is pretty low priority, we can probably just wait and get this for free whenever we split "ODR-ness" out of linkage.