commit | 2024f0a17308abe4dd030e4c51ec26b746b8c31f | [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 | 9b384ca78d6f5ff270404da46dca1f1ab33e0b81 [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