commit | b1c0e204046b72828e513bad369ab03252b2c42e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Oct 22 21:39:03 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Oct 22 21:39:03 2013 +0000 |
tree | ad6f0547f21e6cead604ff953f4b7b4a0bbb3f18 | |
parent | d205498c83c1bba1004ae41299ad7138881b9480 [diff] |
Treat aliases as definitions. This fixes pr17639. Before this patch clang would consider void foo(void) __attribute((alias("__foo"))); a declaration. It now correctly handles it as a definition. Initial patch by Alp Toker. I added support for variables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193200 91177308-0d34-0410-b5e6-96231b3b80d8