commit | e5c5ee1cff9ec084f176fa252774262677857ad2 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Jun 29 00:16:31 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Jun 29 00:16:31 2008 +0000 |
tree | b88d8b2d209033fe8d84aa0146281fd8573f4ccb | |
parent | 3ff30c8e6eaf995c0f969890b48cab15bae4d519 [diff] |
Make ProcessDeclAttributes walk the declarator structure pulling decl attributes out of the various places they can hide. This makes us correctly reject things like this: t.c:2:22: error: mode attribute only supported for integer and floating-point types int **__attribute((mode(HI)))* i32; ^ because you can't make a pointer be HImode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52876 91177308-0d34-0410-b5e6-96231b3b80d8