commit | 2dd68de1bf29993c8c8d7e20a3f230fc9a5a40e8 | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Tue Oct 08 00:19:09 2013 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Tue Oct 08 00:19:09 2013 +0000 |
tree | 1e5420301dcd93da80de09a515b59b1e8f280b86 | |
parent | feba9f2bdc5711894e452dfc67c9679482fbf897 [diff] |
Sema: Only merge typedef attributes if the previous decl is a typedef In r186373, we started merging attributes on typedefs, but this causes us to try to merge attributes even if the previous declaration was not a typedef. Only merge the attributes if the previous decl was also a typedef. Fixes rdar://problem/15044218 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192146 91177308-0d34-0410-b5e6-96231b3b80d8