[cfe-commits] [patch] Add support for weakref
espindola at google.com
Sat Feb 20 21:01:07 PST 2010
> I don't understand enough about weakref to evaluate the semantics of
> this, but from the docs it seems to not be just equivalent to weak +
At the C/C++ level? It is not, they have different warnings and are
supported in different cases. I update the patch with comments and
tests to try to show where exactly it is supported.
At the llvm level it gets represented as "alias weak", that is why I
implemented it with WeakAttr + AliasAttr. I can add a WeakRefAttr and
codegen it as "weak" if you want.
> - Daniel
Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8115 bytes
Desc: not available
More information about the cfe-commits