[patch][pr17639] Consider alias as definitions

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Oct 22 13:23:06 PDT 2013

Hi Alp,

Attached is a new version of the patch for pr17639. The differences on
top of the patch you wrote are

* Trying to fix just pr17639 for now to make the patch smaller.
* Handle variables too.
* Remove the warn_redefinition_alias, not clear why it is needed.
* Simpler definition of isDefined. The decl with the alias attribute
is the definition.
* Uses the existing redefinition error when it makes sense.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 10751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131022/68b7c8cd/attachment.bin>

More information about the cfe-commits mailing list