commit | 548d17c977959a5ed395ea1a407901f1314e575c | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed May 02 20:36:57 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed May 02 20:36:57 2012 +0000 |
tree | efcf7cdd9e9f75bfc5a2220dc0f50e11818ce56b | |
parent | 51c8bac81e103f334f0dafb1bf2d4c335ac3a28b [diff] |
Walk the decls looking for the last one that has an attribute. We do have to walk them, otherwise we cannot produce an error for both struct HIDDEN test4; // canonical struct test4; struct DEFAULT test4; and struct test5; // canonical struct HIDDEN test5; struct DEFAULT test5; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156016 91177308-0d34-0410-b5e6-96231b3b80d8